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 10.3.x for getDefault
  5. Search 11.x for getDefault
  6. Other projects
Title Object type File name Summary
ArgumentPluginBase::getDefaultArgument function core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php Get a default argument, if available.
BlockContentTypeListBuilder::getDefaultOperations function core/modules/block_content/src/BlockContentTypeListBuilder.php
BlockListBuilder::getDefaultOperations function core/modules/block/src/BlockListBuilder.php
CachePluginBase::getDefaultCacheMaxAge function core/modules/views/src/Plugin/views/cache/CachePluginBase.php Returns the default cache max age.
CacheTestTrait::getDefaultVariationCache function core/modules/system/tests/src/Traits/CacheTestTrait.php Retrieves the default cache backend as a variation cache.
CKEditor5::getDefaultSettings function core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php
Comment::getDefaultHostname function core/modules/comment/src/Entity/Comment.php Returns the default value for entity hostname base field.
Comment::getDefaultStatus function core/modules/comment/src/Entity/Comment.php Default value callback for 'status' base field definition.
CommentCacheTagsTest::getDefaultCacheContexts function core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
CommentHostnameTest::testGetDefaultHostname function core/modules/comment/tests/src/Kernel/CommentHostnameTest.php Tests hostname default value callback.
CommentTypeListBuilder::getDefaultOperations function core/modules/comment/src/CommentTypeListBuilder.php
ConfigurableLanguage::getDefaultLangcode function core/modules/language/src/Entity/ConfigurableLanguage.php Gets the default langcode.
ConfigurableLanguageResourceTestBase::testGetDefaultConfig function core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php Tests a GET request for a default config entity, which has a _core key.
ContactLink::getDefaultLabel function core/modules/contact/src/Plugin/views/field/ContactLink.php
ContentLanguageSettings::getDefaultLangcode function core/modules/language/src/Entity/ContentLanguageSettings.php
ContentLanguageSettingsInterface::getDefaultLangcode function core/modules/language/src/ContentLanguageSettingsInterface.php Gets the default language code.
ContentTranslationHandler::getDefaultOwnerId function core/modules/content_translation/src/ContentTranslationHandler.php Default value callback for the owner base field definition.
Date::getDefaultArgument function core/modules/views/src/Plugin/views/argument/Date.php Gets the date default argument, formatted appropriately for this argument.
DefaultLanguageItem::getDefaultLangcode function core/modules/language/src/DefaultLanguageItem.php Provides default language code of given entity.
EditorBase::getDefaultSettings function core/modules/editor/src/Plugin/EditorBase.php
EditorPluginInterface::getDefaultSettings function core/modules/editor/src/Plugin/EditorPluginInterface.php Returns the default settings for this configurable text editor.
EntityDisplayFormBase::getDefaultPlugin function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Returns the ID of the default widget or formatter plugin for a field type.
EntityFormDisplayEditForm::getDefaultPlugin function core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php
EntityLink::getDefaultLabel function core/modules/views/src/Plugin/views/field/EntityLink.php
EntityLinkDelete::getDefaultLabel function core/modules/views/src/Plugin/views/field/EntityLinkDelete.php
EntityLinkEdit::getDefaultLabel function core/modules/views/src/Plugin/views/field/EntityLinkEdit.php
EntityOwnerTrait::getDefaultEntityOwner function core/modules/user/src/EntityOwnerTrait.php Default value callback for 'owner' base field.
EntityReference::getDefaultSelectedEntities function core/modules/views/src/Plugin/views/filter/EntityReference.php Gets all entities selected by default.
EntityViewDisplayEditForm::getDefaultPlugin function core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php
EntityWithUriCacheTagsTestBase::getDefaultCacheContexts function core/modules/system/tests/src/Functional/Entity/EntityWithUriCacheTagsTestBase.php Gets the default cache contexts for rendered entities.
FieldConfigListBuilder::getDefaultOperations function core/modules/field_ui/src/FieldConfigListBuilder.php
File::getDefaultEntityOwner function core/modules/file/src/Entity/File.php
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
ImageStyleListBuilder::getDefaultOperations function core/modules/image/src/ImageStyleListBuilder.php
LanguageConfiguration::getDefaultOptions function core/modules/language/src/Element/LanguageConfiguration.php Returns the default options for the language configuration form element.
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
LayoutBuilderEntityViewDisplay::getDefaultSection function core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php Gets a default section.
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
MenuListBuilder::getDefaultOperations function core/modules/menu_ui/src/MenuListBuilder.php
ModerationInformation::getDefaultRevisionId function core/modules/content_moderation/src/ModerationInformation.php

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