Search for getDefault

  1. Search 7.x for getDefault
  2. Search 9.5.x for getDefault
  3. Search 8.9.x for getDefault
  4. Search 11.x for getDefault
  5. Other projects
Title Object type File name Summary
FieldConfigBase::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldConfigBase.php
FieldConfigBase::getDefaultValueLiteral function core/lib/Drupal/Core/Field/FieldConfigBase.php
FieldConfigListBuilder::getDefaultOperations function core/modules/field_ui/src/FieldConfigListBuilder.php
FieldDefinition::getDefaultValue function core/lib/Drupal/Core/Field/FieldDefinition.php
FieldDefinition::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinition.php
FieldDefinition::getDefaultValueLiteral function core/lib/Drupal/Core/Field/FieldDefinition.php
FieldDefinitionInterface::getDefaultValue function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the default value for the field in a newly created entity.
FieldDefinitionInterface::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the default value callback for the field.
FieldDefinitionInterface::getDefaultValueLiteral function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the default value literal for the field.
FieldLayoutEntityDisplayTrait::getDefaultRegion function core/modules/field_layout/src/Entity/FieldLayoutEntityDisplayTrait.php Implements \Drupal\field_layout\Display\EntityDisplayWithLayoutInterface::getDefaultRegion().
FieldTypePluginManager::getDefaultFieldSettings function core/lib/Drupal/Core/Field/FieldTypePluginManager.php
FieldTypePluginManager::getDefaultStorageSettings function core/lib/Drupal/Core/Field/FieldTypePluginManager.php
FieldTypePluginManagerInterface::getDefaultFieldSettings function core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php Returns the default field-level settings for a field type.
FieldTypePluginManagerInterface::getDefaultStorageSettings function core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php Returns the default storage-level settings for a field type.
File::getDefaultEntityOwner function core/modules/file/src/Entity/File.php Default value callback for 'owner' base field.
FileExtensionConstraint::getDefaultOption function core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraint.php
FileFieldWidgetClaroThemeTest::testWidgetDefaultVisibilitySettings function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetClaroThemeTest.php Tests that the field widget visibility settings are respected on the form.
FileSizeLimitConstraint::getDefaultOption function core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php
FilterFormatListBuilder::getDefaultOperations function core/modules/filter/src/FilterFormatListBuilder.php Gets this list's default operations.
FormatterPluginManager::getDefaultSettings function core/lib/Drupal/Core/Field/FormatterPluginManager.php Returns the default settings of a field formatter.
GenerateProxyClassApplication::getDefaultCommands function core/lib/Drupal/Core/Command/GenerateProxyClassApplication.php
ImageStyleListBuilder::getDefaultOperations function core/modules/image/src/ImageStyleListBuilder.php
ImageToolkitManager::getDefaultToolkit function core/lib/Drupal/Core/ImageToolkit/ImageToolkitManager.php Gets the default image toolkit.
ImageToolkitManager::getDefaultToolkitId function core/lib/Drupal/Core/ImageToolkit/ImageToolkitManager.php Gets the default image toolkit ID.
ImmutablePropertiesConstraint::getDefaultOption function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraint.php @todo Add method return type declaration.
Language::getDefaultLangcode function core/lib/Drupal/Core/Language/Language.php Gets the default langcode.
LanguageConfiguration::getDefaultOptions function core/modules/language/src/Element/LanguageConfiguration.php Returns the default options for the language configuration form element.
LanguageManager::getDefaultLanguage function core/lib/Drupal/Core/Language/LanguageManager.php
LanguageManager::getDefaultLockedLanguages function core/lib/Drupal/Core/Language/LanguageManager.php
LanguageManagerInterface::getDefaultLanguage function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns a language object representing the site's default language.
LanguageManagerInterface::getDefaultLockedLanguages function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns a list of the default locked languages.
LanguageServiceProvider::getDefaultLanguageValues function core/modules/language/src/LanguageServiceProvider.php Gets the default language values.
LayoutBuilderEntityViewDisplay::getDefaultRegion function core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php Gets the default region.
LayoutBuilderEntityViewDisplay::getDefaultSection function core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php Gets a default section.
LayoutDefinition::getDefaultRegion function core/lib/Drupal/Core/Layout/LayoutDefinition.php Gets the default region.
LinkApprove::getDefaultLabel function core/modules/comment/src/Plugin/views/field/LinkApprove.php
LinkBase::getDefaultLabel function core/modules/views/src/Plugin/views/field/LinkBase.php Returns the default label for this link.
LinkReply::getDefaultLabel function core/modules/comment/src/Plugin/views/field/LinkReply.php
LocaleConfigManager::getDefaultConfigLangcode function core/modules/locale/src/LocaleConfigManager.php Returns the original language code for this shipped configuration.
LocaleConfigManagerTest::testGetDefaultConfigLangcode function core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php Tests getDefaultConfigLangcode().
Media::getDefaultThumbnailUri function core/modules/media/src/Entity/Media.php Returns the URI of the default thumbnail.
MenuLinkListBuilder::getDefaultOperations function core/modules/menu_link_content/src/MenuLinkListBuilder.php Gets this list's default operations.
MenuListBuilder::getDefaultOperations function core/modules/menu_ui/src/MenuListBuilder.php Gets this list's default operations.
ModerationInformation::getDefaultRevisionId function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformationInterface::getDefaultRevisionId function core/modules/content_moderation/src/ModerationInformationInterface.php Returns the revision ID of the default revision for the specified entity.
ModerationInformationTest::testGetDefaultRevisionId function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getDefaultRevisionId
MultiWidthLayoutBase::getDefaultWidth function core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php Provides a default value for the width options.
NodeAccessTest::testGetDefaultRevisionId function core/modules/content_moderation/tests/src/Kernel/NodeAccessTest.php @covers \Drupal\content_moderation\ModerationInformation::getDefaultRevisionId
NodeTypeListBuilder::getDefaultOperations function core/modules/node/src/NodeTypeListBuilder.php Gets this list's default operations.
OverridesSectionStorage::getDefaultSectionStorage function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Returns the corresponding defaults section storage for this override.

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