function NodeAccessTestEmptyHooks::nodeGrants

Implements hook_node_grants().

File

core/modules/node/tests/modules/node_access_test_empty/src/Hook/NodeAccessTestEmptyHooks.php, line 18

Class

NodeAccessTestEmptyHooks
Hook implementations for node_access_test_empty.

Namespace

Drupal\node_access_test_empty\Hook

Code

public function nodeGrants($account, $operation) : array {
    return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.