protected function FieldStorageConfig::getFieldItemClass in Drupal 8
Same name and namespace in other branches
- 9 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::getFieldItemClass()
Helper to retrieve the field item class.
4 calls to FieldStorageConfig::getFieldItemClass()
- FieldStorageConfig::getMainPropertyName in core/
modules/ field/ src/ Entity/ FieldStorageConfig.php - Returns the name of the main property, if any.
- FieldStorageConfig::getOptionsProvider in core/
modules/ field/ src/ Entity/ FieldStorageConfig.php - Gets an options provider for the given field item property.
- FieldStorageConfig::getPropertyDefinitions in core/
modules/ field/ src/ Entity/ FieldStorageConfig.php - Gets an array of property definitions of contained properties.
- FieldStorageConfig::getSchema in core/
modules/ field/ src/ Entity/ FieldStorageConfig.php - Returns the field schema.
File
- core/
modules/ field/ src/ Entity/ FieldStorageConfig.php, line 792
Class
- FieldStorageConfig
- Defines the Field storage configuration entity.
Namespace
Drupal\field\EntityCode
protected function getFieldItemClass() {
$type_definition = \Drupal::typedDataManager()
->getDefinition('field_item:' . $this
->getType());
return $type_definition['class'];
}