protected ConfigEntityStorage::doDelete($entities)
Performs storage-specific entity deletion.
Parameters
\Drupal\Core\Entity\EntityInterface[] $entities: An array of entity objects to delete.
Overrides EntityStorageBase::doDelete
File
- core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 232
Class
- ConfigEntityStorage
- Defines the storage class for configuration entities.
Namespace
Drupal\Core\Config\Entity
Code
protected function doDelete($entities) { foreach ($entities as $entity) { $this->configFactory->getEditable($this->getPrefix() . $entity->id())->delete(); } }
Please login to continue.