public function SerialSQLStorage::dropStorage in Serial Field 8
Drops an assistant serial storage for a deleted field.
Parameters
\Drupal\Core\Field\FieldDefinitionInterface $fieldDefinition: Field definition.
\Drupal\Core\Entity\FieldableEntityInterface $entity: Entity.
Overrides SerialStorageInterface::dropStorage
File
- src/
SerialSQLStorage.php, line 174
Class
- SerialSQLStorage
- Serial storage service definition.
Namespace
Drupal\serialCode
public function dropStorage(FieldDefinitionInterface $fieldDefinition, FieldableEntityInterface $entity) {
$this
->dropStorageFromName($this
->createStorageNameFromField($fieldDefinition, $entity));
}