public EntityFieldManagerInterface::getFieldStorageDefinitions($entity_type_id)
Gets the field storage definitions for a content entity type.
This returns all field storage definitions for base fields and bundle fields of an entity type. Note that field storage definitions of a base field equal the full base field definition (i.e. they implement FieldDefinitionInterface), while the storage definitions for bundle fields may implement FieldStorageDefinitionInterface only.
string $entity_type_id: The entity type ID. Only content entities are supported.
\Drupal\Core\Field\FieldStorageDefinitionInterface[] The array of field storage definitions for the entity type, keyed by field name.
\Drupal\Core\Field\FieldStorageDefinitionInterface
public function getFieldStorageDefinitions($entity_type_id);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityFieldManagerInterface.php/function/EntityFieldManagerInterface::getFieldStorageDefinitions/8.1.x