public EntityDefinitionUpdateManager::uninstallFieldStorageDefinition(FieldStorageDefinitionInterface $storage_definition)
Uninstalls a field storage definition.
Parameters
\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition.
Overrides EntityDefinitionUpdateManagerInterface::uninstallFieldStorageDefinition
File
- core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php, line 192
Class
- EntityDefinitionUpdateManager
- Manages entity definition updates.
Namespace
Drupal\Core\Entity
Code
public function uninstallFieldStorageDefinition(FieldStorageDefinitionInterface $storage_definition) { $this->entityManager->clearCachedDefinitions(); $this->entityManager->onFieldStorageDefinitionDelete($storage_definition); }
Please login to continue.