public NodeGrantDatabaseStorage::delete()
Deletes all node access entries.
Overrides NodeGrantDatabaseStorageInterface::delete
File
- core/modules/node/src/NodeGrantDatabaseStorage.php, line 247
Class
- NodeGrantDatabaseStorage
- Defines a storage handler class that handles the node grants system.
Namespace
Drupal\node
Code
public function delete() { $this->database->truncate('node_access')->execute(); }
Please login to continue.