class PathTestNodeGrantsHooks
Hook implementations for path_test_node_grants.
Hierarchy
- class \Drupal\path_test_node_grants\Hook\PathTestNodeGrantsHooks
Expanded class hierarchy of PathTestNodeGrantsHooks
File
-
core/
modules/ path/ tests/ modules/ path_test_node_grants/ src/ Hook/ PathTestNodeGrantsHooks.php, line 13
Namespace
Drupal\path_test_node_grants\HookView source
class PathTestNodeGrantsHooks {
/**
* Implements hook_node_grants().
*/
public function nodeGrants(AccountInterface $account, $operation) : array {
$grants = [];
return $grants;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
PathTestNodeGrantsHooks::nodeGrants | public | function | Implements hook_node_grants(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.