FieldStorageConfig::getFieldItemClass

protected FieldStorageConfig::getFieldItemClass()

Helper to retrieve the field item class.

File

core/modules/field/src/Entity/FieldStorageConfig.php, line 780

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

protected function getFieldItemClass() {
  $type_definition = \Drupal::typedDataManager()
    ->getDefinition('field_item:' . $this->getType());
  return $type_definition['class'];
}
doc_Drupal
2016-10-29 09:12:18
Comments
Leave a Comment

Please login to continue.