public EntityDefinitionUpdateManager::uninstallEntityType(EntityTypeInterface $entity_type)
Uninstalls an entity type definition.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
Overrides EntityDefinitionUpdateManagerInterface::uninstallEntityType
File
- core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php, line 150
Class
- EntityDefinitionUpdateManager
- Manages entity definition updates.
Namespace
Drupal\Core\Entity
Code
public function uninstallEntityType(EntityTypeInterface $entity_type) { $this->entityManager->clearCachedDefinitions(); $this->entityManager->onEntityTypeDelete($entity_type); }
Please login to continue.