Search for getDefaultValue

  1. Search 7.x for getDefaultValue
  2. Search 9.5.x for getDefaultValue
  3. Search 10.3.x for getDefaultValue
  4. Search 11.x for getDefaultValue
  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.
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.
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.

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