public ContentLanguageSettings::isDefaultConfiguration()
Checks if this config object contains the default values in every property.
Return value
bool True if all the properties contain the default values. False otherwise.
Overrides ContentLanguageSettingsInterface::isDefaultConfiguration
File
- core/modules/language/src/Entity/ContentLanguageSettings.php, line 161
Class
- ContentLanguageSettings
- Defines the ContentLanguageSettings entity.
Namespace
Drupal\language\Entity
Code
public function isDefaultConfiguration() { return (!$this->language_alterable && $this->default_langcode == LanguageInterface::LANGCODE_SITE_DEFAULT); }
Please login to continue.