Update to Drupal 8.1.1. For more information, see https://www.drupal.org/node/2718713
This commit is contained in:
parent
c0a0d5a94c
commit
9eae24d844
669 changed files with 3873 additions and 1553 deletions
|
@ -208,15 +208,15 @@ function hook_node_access_records(\Drupal\node\NodeInterface $node) {
|
|||
*
|
||||
* A module may deny all access to a node by setting $grants to an empty array.
|
||||
*
|
||||
* The preferred use of this hook is in a module that bridges multiple node
|
||||
* access modules with a configurable behavior, as shown in the example with the
|
||||
* 'is_preview' field.
|
||||
*
|
||||
* @param array $grants
|
||||
* The $grants array returned by hook_node_access_records().
|
||||
* @param \Drupal\node\NodeInterface $node
|
||||
* The node for which the grants were acquired.
|
||||
*
|
||||
* The preferred use of this hook is in a module that bridges multiple node
|
||||
* access modules with a configurable behavior, as shown in the example with the
|
||||
* 'is_preview' field.
|
||||
*
|
||||
* @see hook_node_access_records()
|
||||
* @see hook_node_grants()
|
||||
* @see hook_node_grants_alter()
|
||||
|
|
Reference in a new issue