public function SerialStorageInterface::createStorage in Serial Field 8
Creates an assistant serial storage for a new created field.
Parameters
\Drupal\Core\Field\FieldDefinitionInterface $fieldDefinition: Field definition.
\Drupal\Core\Entity\FieldableEntityInterface $entity: Entity.
1 method overrides SerialStorageInterface::createStorage()
- SerialSQLStorage::createStorage in src/
SerialSQLStorage.php - Creates an assistant serial storage for a new created field.
File
- src/
SerialStorageInterface.php, line 100
Class
- SerialStorageInterface
- Defines an interface for serial storage classes.
Namespace
Drupal\serialCode
public function createStorage(FieldDefinitionInterface $fieldDefinition, FieldableEntityInterface $entity);