public static function Node::postDelete in Drupal 10
Same name and namespace in other branches
- 8 core/modules/node/src/Entity/Node.php \Drupal\node\Entity\Node::postDelete()
- 9 core/modules/node/src/Entity/Node.php \Drupal\node\Entity\Node::postDelete()
File
- core/
modules/ node/ src/ Entity/ Node.php, line 178
Class
- Node
- Defines the node entity class.
Namespace
Drupal\node\EntityCode
public static function postDelete(EntityStorageInterface $storage, array $nodes) {
parent::postDelete($storage, $nodes);
\Drupal::service('node.grant_storage')
->deleteNodeRecords(array_keys($nodes));
}