function filebrowser_node_predelete in Filebrowser 3.x
Same name and namespace in other branches
- 8.2 filebrowser.module \filebrowser_node_predelete()
Implements hook_ENTITY_TYPE_predelete(). @inheritdoc
File
- ./
filebrowser.module, line 203
Code
function filebrowser_node_predelete(NodeInterface $node) {
// delete information from filebrowser tables
\Drupal::service('filebrowser.common')
->nodeDelete($node
->id());
}