public function FilebrowserStorage::update in Filebrowser 3.x
Same name and namespace in other branches
- 8.2 src/Services/FilebrowserStorage.php \Drupal\filebrowser\Services\FilebrowserStorage::update()
File
- src/
Services/ FilebrowserStorage.php, line 106
Class
Namespace
Drupal\filebrowser\ServicesCode
public function update($data) {
return $this->connection
->update('filebrowser_nodes')
->fields($data)
->condition('nid', $data['nid'], '=')
->execute();
}