function FieldItemBase::generateSampleValue
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::generateSampleValue()
- 10 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::generateSampleValue()
- 11.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::generateSampleValue()
Overrides FieldItemInterface::generateSampleValue
18 methods override FieldItemBase::generateSampleValue()
- BooleanItem::generateSampleValue in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ BooleanItem.php - Generates placeholder field values.
- CommentItem::generateSampleValue in core/
modules/ comment/ src/ Plugin/ Field/ FieldType/ CommentItem.php - Generates placeholder field values.
- DateTimeItem::generateSampleValue in core/
modules/ datetime/ src/ Plugin/ Field/ FieldType/ DateTimeItem.php - Generates placeholder field values.
- DecimalItem::generateSampleValue in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ DecimalItem.php - Generates placeholder field values.
- EmailItem::generateSampleValue in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EmailItem.php - Generates placeholder field values.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php, line 209
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\FieldCode
public static function generateSampleValue(FieldDefinitionInterface $field_definition) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.