10 calls to FieldInputValueNormalizerTrait::normalizeValue()
- BaseFieldDefinition::getDefaultValue in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Returns the default value for the field in a newly created entity.
- BaseFieldDefinition::getInitialValue in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Returns the initial value for the field.
- BaseFieldDefinition::setInitialValue in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Sets an initial value for the field.
- FieldConfigBase::getDefaultValue in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php - Returns the default value for the field in a newly created entity.
- FieldConfigBase::setDefaultValue in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php - #[ActionMethod(adminLabel: new TranslatableMarkup('Set default value'), pluralize: FALSE)]
- FieldDefinition::getDefaultValue in core/
lib/ Drupal/ Core/ Field/ FieldDefinition.php - Returns the default value for the field in a newly created entity.
- FieldDefinition::setDefaultValue in core/
lib/ Drupal/ Core/ Field/ FieldDefinition.php - Set a default value for the field.
- FieldInputValueNormalizerTraitTest::testKeyValueByDelta in core/
tests/ Drupal/ Tests/ Core/ Field/ FieldInputValueNormalizerTraitTest.php - @dataProvider keyValueByDeltaTestCases @covers ::normalizeValue[[api-linebreak]]
- FieldInputValueNormalizerTraitTest::testKeyValueByDeltaUndefinedVariables in core/
tests/ Drupal/ Tests/ Core/ Field/ FieldInputValueNormalizerTraitTest.php - @covers ::normalizeValue[[api-linebreak]]
- FieldInputValueNormalizerTraitTest::testScalarWithNoMainProperty in core/
tests/ Drupal/ Tests/ Core/ Field/ FieldInputValueNormalizerTraitTest.php - @covers ::normalizeValue[[api-linebreak]]
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.