path_test_node_grants.module

Same filename and directory in other branches
  1. 10 core/modules/path/tests/modules/path_test_node_grants/path_test_node_grants.module

Contains hook implementations for the Path test with node grants module.

File

core/modules/path/tests/modules/path_test_node_grants/path_test_node_grants.module

View source
<?php


/**
 * @file
 * Contains hook implementations for the Path test with node grants module.
 */
use Drupal\Core\Session\AccountInterface;

/**
 * Implements hook_node_grants().
 */
function path_test_node_grants_node_grants(AccountInterface $account, $operation) : array {
    $grants = [];
    return $grants;
}

Functions

Title Deprecated Summary
path_test_node_grants_node_grants Implements hook_node_grants().

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