ConfigurableLanguage::$preSaveMultilingual

Same name in other branches
  1. 9 core/modules/language/src/Entity/ConfigurableLanguage.php \Drupal\language\Entity\ConfigurableLanguage::preSaveMultilingual
  2. 8.9.x core/modules/language/src/Entity/ConfigurableLanguage.php \Drupal\language\Entity\ConfigurableLanguage::preSaveMultilingual
  3. 11.x core/modules/language/src/Entity/ConfigurableLanguage.php \Drupal\language\Entity\ConfigurableLanguage::preSaveMultilingual

Used during saving to detect when the site becomes multilingual.

This property is not saved to the language entity, but is needed for detecting when to rebuild the services.

Type: bool

See also

\Drupal\language\Entity\ConfigurableLanguage::preSave()

\Drupal\language\Entity\ConfigurableLanguage::postSave()

File

core/modules/language/src/Entity/ConfigurableLanguage.php, line 104

Class

ConfigurableLanguage
Defines the ConfigurableLanguage entity.

Namespace

Drupal\language\Entity

Code

protected $preSaveMultilingual;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.