You are here

function node_accessibility_node_delete in Node Accessibility 8

Same name and namespace in other branches
  1. 7 node_accessibility.module \node_accessibility_node_delete()

Implements hook_ENTITY_TYPE_delete().

File

./node_accessibility.module, line 176
Module file for the node accessibility project.

Code

function node_accessibility_node_delete(\Drupal\node\Entity\Node $node) {
  \Drupal\node_accessibility\ProblemsStorage::delete_node_problems($node->nid->value, $node->vid->value);
}