You are here

function entity_extra_field_storage in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x entity_extra_field.module \entity_extra_field_storage()

Get entity extra field storage.

Return value

\Drupal\Core\Entity\EntityStorageInterface The entity extra field storage.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

1 call to entity_extra_field_storage()
entity_extra_field_display in ./entity_extra_field.module
Entity extra field display.

File

./entity_extra_field.module, line 157
The hook implementation for the entity extra field module.

Code

function entity_extra_field_storage() {
  return \Drupal::entityTypeManager()
    ->getStorage('entity_extra_field');
}