You are here

public function FilebrowserStorage::deleteFileRecords in Filebrowser 8.2

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

File

src/Services/FilebrowserStorage.php, line 126

Class

FilebrowserStorage

Namespace

Drupal\filebrowser\Services

Code

public function deleteFileRecords($ids) {
  return $this->connection
    ->delete('filebrowser_content')
    ->condition('fid', $ids, 'IN')
    ->execute();
}