public function FilebrowserStorage::deleteNode in Filebrowser 8.2
Same name and namespace in other branches
- 3.x src/Services/FilebrowserStorage.php \Drupal\filebrowser\Services\FilebrowserStorage::deleteNode()
Delete entry's of filebrowser table
Parameters
int $nid Id of node being deleted.:
Return value
int
File
- src/
Services/ FilebrowserStorage.php, line 70
Class
Namespace
Drupal\filebrowser\ServicesCode
public function deleteNode($nid) {
return $this->connection
->delete('filebrowser_nodes')
->condition('nid', $nid)
->execute();
}