public function NodeGrantDatabaseStorage::delete in Drupal 9
Same name and namespace in other branches
- 8 core/modules/node/src/NodeGrantDatabaseStorage.php \Drupal\node\NodeGrantDatabaseStorage::delete()
Deletes all node access entries.
Overrides NodeGrantDatabaseStorageInterface::delete
File
- core/
modules/ node/ src/ NodeGrantDatabaseStorage.php, line 249
Class
- NodeGrantDatabaseStorage
- Defines a storage handler class that handles the node grants system.
Namespace
Drupal\nodeCode
public function delete() {
$this->database
->truncate('node_access')
->execute();
}