SqlContentEntityStorage::getFieldStorageDefinitions

public SqlContentEntityStorage::getFieldStorageDefinitions()

Gets the base field definitions for a content entity type.

Return value

\Drupal\Core\Field\FieldDefinitionInterface[] The array of base field definitions for the entity type, keyed by field name.

File

core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 140

Class

SqlContentEntityStorage
A content entity database storage implementation.

Namespace

Drupal\Core\Entity\Sql

Code

public function getFieldStorageDefinitions() {
  return $this->entityManager->getBaseFieldDefinitions($this->entityTypeId);
}
doc_Drupal
2016-10-29 09:43:23
Comments
Leave a Comment

Please login to continue.