public function Common::nodeDelete in Filebrowser 8.2
Same name and namespace in other branches
- 3.x src/Services/Common.php \Drupal\filebrowser\Services\Common::nodeDelete()
remove content from filebrowser DB when deleting $node.
Parameters
int $nid Node id of node being deleted.:
File
- src/
Services/ Common.php, line 232
Class
- Common
- Class Common @package Drupal\filebrowser\Services
Namespace
Drupal\filebrowser\ServicesCode
public function nodeDelete($nid) {
$this->storage
->deleteContent($nid);
$this->storage
->deleteNode($nid);
}