Search for getDefault

  1. Search 7.x for getDefault
  2. Search 8.9.x for getDefault
  3. Search 10.3.x for getDefault
  4. Search 11.x for getDefault
  5. Other projects
Title Object type File name Summary
BaseFieldDefinition::getDefaultValue function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the default value for the field in a newly created entity.
BaseFieldDefinition::getDefaultValueCallback function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the default value callback for the field.
BaseFieldDefinition::getDefaultValueLiteral function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the default value literal for the field.
BrowserTestBase::getDefaultDriverInstance function core/tests/Drupal/Tests/BrowserTestBase.php Gets an instance of the default Mink driver.
BrowserTestBaseTest::testGetDefaultDriveInstance function core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
BundleConstraint::getDefaultOption function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php
CompiledRoute::getDefaults function core/lib/Drupal/Core/Routing/CompiledRoute.php Returns the defaults.
ComplexDataConstraint::getDefaultOption function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php
ConfigEntityListBuilder::getDefaultOperations function core/lib/Drupal/Core/Config/Entity/ConfigEntityListBuilder.php Gets this list's default operations.
ConfigInstaller::getDefaultConfigDirectory function core/lib/Drupal/Core/Config/ConfigInstaller.php Gets an extension's default configuration directory.
ContextDefinition::getDefaultValue function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Gets the default value for this context definition.
ContextDefinitionInterface::getDefaultValue function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Gets the default value for this context definition.
DbDumpApplication::getDefaultCommands function core/lib/Drupal/Core/Command/DbDumpApplication.php
DbToolsApplication::getDefaultCommands function core/lib/Drupal/Core/Command/DbToolsApplication.php
EntityDisplayBase::getDefaultRegion function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Gets the default region.
EntityHasFieldConstraint::getDefaultOption function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php
EntityListBuilder::getDefaultOperations function core/lib/Drupal/Core/Entity/EntityListBuilder.php Gets this list's default operations.
EntityTypeConstraint::getDefaultOption function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php
FieldConfigBase::getDefaultValue function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the default value for the field in a newly created entity.
FieldConfigBase::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the default value callback for the field.
FieldConfigBase::getDefaultValueLiteral function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the default value literal for the field.
FieldDefinition::getDefaultValue function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default value for the field in a newly created entity.
FieldDefinition::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default value callback for the field.
FieldDefinition::getDefaultValueLiteral function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default value literal for the field.
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.
FieldTypePluginManager::getDefaultFieldSettings function core/lib/Drupal/Core/Field/FieldTypePluginManager.php Returns the default field-level settings for a field type.
FieldTypePluginManager::getDefaultStorageSettings function core/lib/Drupal/Core/Field/FieldTypePluginManager.php Returns the default storage-level settings for a field type.
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.
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
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.
Language::getDefaultLangcode function core/lib/Drupal/Core/Language/Language.php Gets the default langcode.
LanguageManager::getDefaultLanguage function core/lib/Drupal/Core/Language/LanguageManager.php Returns a language object representing the site's default language.
LanguageManager::getDefaultLockedLanguages function core/lib/Drupal/Core/Language/LanguageManager.php Returns a list of the default locked languages.
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.
LayoutDefinition::getDefaultRegion function core/lib/Drupal/Core/Layout/LayoutDefinition.php Gets the default region.
RequestFormatRouteFilter::getDefaultFormat function core/lib/Drupal/Core/Routing/RequestFormatRouteFilter.php Determines the default request format.
StaticReflectionClass::getDefaultProperties function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php #[\ReturnTypeWillChange]
TestSiteApplication::getDefaultCommands function core/tests/Drupal/TestSite/TestSiteApplication.php
ThemeHandler::getDefault function core/lib/Drupal/Core/Extension/ThemeHandler.php Returns the default theme.
ThemeHandlerInterface::getDefault function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Returns the default theme.
TypedDataManager::getDefaultConstraints function core/lib/Drupal/Core/TypedData/TypedDataManager.php Gets default constraints for the given data definition.
TypedDataManagerInterface::getDefaultConstraints function core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php Gets default constraints for the given data definition.
WidgetPluginManager::getDefaultSettings function core/lib/Drupal/Core/Field/WidgetPluginManager.php Returns the default settings of a field widget.

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