class PathTestNodeGrantsHooks

Hook implementations for path_test_node_grants.

Hierarchy

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\Hook
View 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.