You are here

public function SerialStorageInterface::createStorageNameFromField in Serial Field 8

Creates the assistant storage name for a specific field.

Parameters

\Drupal\Core\Field\FieldDefinitionInterface $fieldDefinition: Field definition.

\Drupal\Core\Entity\FieldableEntityInterface $entity: Entity.

Return value

string Storage name.

1 method overrides SerialStorageInterface::createStorageNameFromField()
SerialSQLStorage::createStorageNameFromField in src/SerialSQLStorage.php
Creates the assistant storage name for a specific field.

File

src/SerialStorageInterface.php, line 27

Class

SerialStorageInterface
Defines an interface for serial storage classes.

Namespace

Drupal\serial

Code

public function createStorageNameFromField(FieldDefinitionInterface $fieldDefinition, FieldableEntityInterface $entity);