Loading core/modules/book/tests/modules/book_breadcrumb_test/book_breadcrumb_test.module +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ use Drupal\node\NodeInterface; /** * Implements hook_node_access(). * Implements hook_ENTITY_TYPE_access(). */ function book_breadcrumb_test_node_access(NodeInterface $node, $operation, AccountInterface $account) { $config = \Drupal::config('book_breadcrumb_test.settings'); Loading core/modules/content_moderation/tests/src/Functional/NodeAccessTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,7 @@ public function testPageAccess() { $this->assertSession()->statusCodeEquals(200); // Now create a private node that the user is not granted access to by the // node grants, but is granted access via hook_node_access(). // node grants, but is granted access via hook_ENTITY_TYPE_access(). // @see node_access_test_node_access $node = $this->createNode([ 'type' => 'moderated_content', Loading core/modules/node/tests/modules/node_access_test/node_access_test.module +1 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ function node_access_test_add_field(NodeTypeInterface $type) { } /** * Implements hook_node_access(). * Implements hook_ENTITY_TYPE_access(). */ function node_access_test_node_access(NodeInterface $node, $op, AccountInterface $account) { $secret_catalan = \Drupal::state() Loading Loading
core/modules/book/tests/modules/book_breadcrumb_test/book_breadcrumb_test.module +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ use Drupal\node\NodeInterface; /** * Implements hook_node_access(). * Implements hook_ENTITY_TYPE_access(). */ function book_breadcrumb_test_node_access(NodeInterface $node, $operation, AccountInterface $account) { $config = \Drupal::config('book_breadcrumb_test.settings'); Loading
core/modules/content_moderation/tests/src/Functional/NodeAccessTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,7 @@ public function testPageAccess() { $this->assertSession()->statusCodeEquals(200); // Now create a private node that the user is not granted access to by the // node grants, but is granted access via hook_node_access(). // node grants, but is granted access via hook_ENTITY_TYPE_access(). // @see node_access_test_node_access $node = $this->createNode([ 'type' => 'moderated_content', Loading
core/modules/node/tests/modules/node_access_test/node_access_test.module +1 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ function node_access_test_add_field(NodeTypeInterface $type) { } /** * Implements hook_node_access(). * Implements hook_ENTITY_TYPE_access(). */ function node_access_test_node_access(NodeInterface $node, $op, AccountInterface $account) { $secret_catalan = \Drupal::state() Loading