You are here

public function FilebrowserStorage::deleteContent in Filebrowser 8.2

Same name and namespace in other branches
  1. 3.x src/Services/FilebrowserStorage.php \Drupal\filebrowser\Services\FilebrowserStorage::deleteContent()

File

src/Services/FilebrowserStorage.php, line 76

Class

FilebrowserStorage

Namespace

Drupal\filebrowser\Services

Code

public function deleteContent($nid) {
  return $this->connection
    ->delete('filebrowser_content')
    ->condition('nid', $nid)
    ->execute();
}