protected ContentEntityStorageBase::doDelete($entities)
Performs storage-specific entity deletion.
\Drupal\Core\Entity\EntityInterface[] $entities: An array of entity objects to delete.
Overrides EntityStorageBase::doDelete
protected function doDelete($entities) { /** @var \Drupal\Core\Entity\ContentEntityInterface[] $entities */ foreach ($entities as $entity) { $this->invokeFieldMethod('delete', $entity); } $this->doDeleteFieldItems($entities); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityStorageBase.php/function/ContentEntityStorageBase::doDelete/8.1.x