protected ContentEntityStorageBase::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/Entity/ContentEntityStorageBase.php, line 315
Class
- ContentEntityStorageBase
- Base class for content entity storage handlers.
Namespace
Drupal\Core\Entity
Code
protected function doDelete($entities) { /** @var \Drupal\Core\Entity\ContentEntityInterface[] $entities */ foreach ($entities as $entity) { $this->invokeFieldMethod('delete', $entity); } $this->doDeleteFieldItems($entities); }
Please login to continue.