Search for isDefault

  1. Search 7.x for isDefault
  2. Search 9.5.x for isDefault
  3. Search 8.9.x for isDefault
  4. Search 10.3.x for isDefault
  5. Other projects
Title Object type File name Summary
ConfigurableLanguage::isDefault function core/modules/language/src/Entity/ConfigurableLanguage.php Returns whether this language is the default language.
ContentEntityBase::$isDefaultRevision property core/lib/Drupal/Core/Entity/ContentEntityBase.php Indicates whether this is the default revision.
ContentEntityBase::isDefaultRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::isDefaultTranslation function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::isDefaultTranslationAffectedOnly function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBaseUnitTest::testIsDefaultRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isDefaultRevision
ContentEntityForm::isDefaultFormLangcode function core/lib/Drupal/Core/Entity/ContentEntityForm.php Checks whether the current form language matches the entity one.
ContentEntityFormInterface::isDefaultFormLangcode function core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php Checks whether the current form language matches the entity one.
ContentLanguageSettings::isDefaultConfiguration function core/modules/language/src/Entity/ContentLanguageSettings.php Checks if this config object contains the default values in every property.
ContentLanguageSettingsInterface::isDefaultConfiguration function core/modules/language/src/ContentLanguageSettingsInterface.php Checks if this config object contains the default values in every property.
ContentLanguageSettingsUnitTest::providerIsDefaultConfiguration function core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php
ContentLanguageSettingsUnitTest::testIsDefaultConfiguration function core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php @covers ::isDefaultConfiguration
ContentModerationState::isDefaultRevisionState function core/modules/content_moderation/src/ContentModerationState.php Determines if entities should be the default revision if in this state.
DefaultDisplay::isDefaultDisplay function core/modules/views/src/Plugin/views/display/DefaultDisplay.php Determine if this display is the default which contains fallback settings.
DisplayPluginBase::isDefaultDisplay function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Determines if this display is the 'default' display.
DisplayPluginBase::isDefaulted function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Determines if an option is set to use the default or current display.
DisplayPluginInterface::isDefaultDisplay function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Determines if this display is the 'default' display.
DisplayPluginInterface::isDefaulted function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Determines if an option is set to use the default or current display.
Language::isDefault function core/lib/Drupal/Core/Language/Language.php Returns whether this language is the default language.
LanguageInterface::isDefault function core/lib/Drupal/Core/Language/LanguageInterface.php Returns whether this language is the default language.
LanguageUnitTest::testIsDefault function core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php @covers ::isDefault
ModerationInformation::isDefaultRevisionPublished function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformationInterface::isDefaultRevisionPublished function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if the default revision for the given entity is published.
ModerationInformationTest::isDefaultRevisionPublishedTestCases function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php Test cases for ::testIsDefaultRevisionPublished.
ModerationInformationTest::testIsDefaultRevisionPublished function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::isDefaultRevisionPublished
@dataProvider isDefaultRevisionPublishedTestCases
ModerationInformationTest::testIsDefaultRevisionPublishedMultilingual function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::isDefaultRevisionPublished
PathPluginBase::isDefaultTabPath function core/modules/views/src/Plugin/views/display/PathPluginBase.php Determines if this display's path is a default tab.
RevisionableInterface::isDefaultRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Checks if this entity is the default revision.
SearchPage::isDefaultSearch function core/modules/search/src/Entity/SearchPage.php Determines if this search page entity is currently the default search.
SearchPageInterface::isDefaultSearch function core/modules/search/src/SearchPageInterface.php Determines if this search page entity is currently the default search.
StubRevisionableEntity::isDefaultRevision function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Checks if this entity is the default revision.
TranslatableInterface::isDefaultTranslation function core/lib/Drupal/Core/TypedData/TranslatableInterface.php Checks whether the translation is the default one.
TranslatableRevisionableInterface::isDefaultTranslationAffectedOnly function core/lib/Drupal/Core/Entity/TranslatableRevisionableInterface.php Checks if untranslatable fields should affect only the default translation.
ViewFormBase::isDefaultDisplayShown function core/modules/views_ui/src/ViewFormBase.php Controls whether or not the default display should have its own tab on edit.
WidgetBase::isDefaultValueWidget function core/lib/Drupal/Core/Field/WidgetBase.php Returns whether the widget used for default value form.

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