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