Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
NodeAccessControlHandlerInterface::writeDefaultGrant function core/modules/node/src/NodeAccessControlHandlerInterface.php Creates the default node access grant entry on the grant storage.
NodeAccessControlHandlerInterface::writeGrants function core/modules/node/src/NodeAccessControlHandlerInterface.php Writes a list of grants to the database, deleting any previously saved ones.
NodeAccessFieldTest class core/modules/node/tests/src/Functional/NodeAccessFieldTest.php Tests the interaction of the node access system with fields.
NodeAccessFieldTest.php file core/modules/node/tests/src/Functional/NodeAccessFieldTest.php
NodeAccessFieldTest::$adminUser property core/modules/node/tests/src/Functional/NodeAccessFieldTest.php A user with permission to bypass access content.
NodeAccessFieldTest::$contentAdminUser property core/modules/node/tests/src/Functional/NodeAccessFieldTest.php A user with permission to manage content types and fields.
NodeAccessFieldTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeAccessFieldTest.php The theme to install as the default for testing.
NodeAccessFieldTest::$fieldName property core/modules/node/tests/src/Functional/NodeAccessFieldTest.php The name of the created field.
NodeAccessFieldTest::$modules property core/modules/node/tests/src/Functional/NodeAccessFieldTest.php Modules to enable.
NodeAccessFieldTest::setUp function core/modules/node/tests/src/Functional/NodeAccessFieldTest.php
NodeAccessFieldTest::testNodeAccessAdministerField function core/modules/node/tests/src/Functional/NodeAccessFieldTest.php Tests administering fields when node access is restricted.
NodeAccessGrantsCacheContext class core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php Defines the node access view cache context service.
NodeAccessGrantsCacheContext.php file core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php
NodeAccessGrantsCacheContext::checkNodeGrants function core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php Checks the node grants for the given operation.
NodeAccessGrantsCacheContext::getCacheableMetadata function core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
NodeAccessGrantsCacheContext::getContext function core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php Returns the string representation of the cache context.
NodeAccessGrantsCacheContext::getLabel function core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php Returns the label of the cache context.
NodeAccessGrantsCacheContextTest class core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php Tests the node access grants cache context service.
NodeAccessGrantsCacheContextTest.php file core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php
NodeAccessGrantsCacheContextTest::$accessUser property core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php User with permission to view content.
NodeAccessGrantsCacheContextTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php The theme to install as the default for testing.
NodeAccessGrantsCacheContextTest::$modules property core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php Modules to enable.
NodeAccessGrantsCacheContextTest::$noAccessUser property core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php User without permission to view content.
NodeAccessGrantsCacheContextTest::assertUserCacheContext function core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php Asserts that for each given user, the expected cache context is returned.
NodeAccessGrantsCacheContextTest::setUp function core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php
NodeAccessGrantsCacheContextTest::testCacheContext function core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php Tests NodeAccessGrantsCacheContext::getContext().
NodeAccessLanguageAwareCombinationTest class core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php Tests node access functionality with multiple languages and two node access
modules.
NodeAccessLanguageAwareCombinationTest.php file core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php
NodeAccessLanguageAwareCombinationTest::$adminUser property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php User 1.
NodeAccessLanguageAwareCombinationTest::$modules property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php Enable language and two node access modules.
NodeAccessLanguageAwareCombinationTest::$nodes property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php A set of nodes to use in testing.
NodeAccessLanguageAwareCombinationTest::$webUser property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php A normal authenticated user.
NodeAccessLanguageAwareCombinationTest::setUp function core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php
NodeAccessLanguageAwareCombinationTest::testNodeAccessLanguageAwareCombination function core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php Tests node access and node access queries with multiple node languages.
NodeAccessLanguageAwareTest class core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php Tests node_access and select queries with node_access tag functionality with
multiple languages with node_access_test_language which is language-aware.
NodeAccessLanguageAwareTest.php file core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php
NodeAccessLanguageAwareTest::$adminUser property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php A user with permission to bypass access content.
NodeAccessLanguageAwareTest::$modules property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php Enable language and a language-aware node access module.
NodeAccessLanguageAwareTest::$nodes property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php A set of nodes to use in testing.
NodeAccessLanguageAwareTest::$webUser property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php A normal authenticated user.
NodeAccessLanguageAwareTest::setUp function core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php
NodeAccessLanguageAwareTest::testNodeAccessLanguageAware function core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php Tests node access and node access queries with multiple node languages.
NodeAccessLanguageFallbackTest class core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php Tests that the node_access system stores the proper fallback marker.
NodeAccessLanguageFallbackTest.php file core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php
NodeAccessLanguageFallbackTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php The theme to install as the default for testing.
NodeAccessLanguageFallbackTest::$modules property core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php Enable language and a non-language-aware node access module.
NodeAccessLanguageFallbackTest::checkRecords function core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php Queries the node_access table and checks for proper storage.
NodeAccessLanguageFallbackTest::setUp function core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php
NodeAccessLanguageFallbackTest::testNodeAccessLanguageFallback function core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php Tests node access fallback handling with multiple node languages.
NodeAccessLanguageTest class core/modules/node/tests/src/Kernel/NodeAccessLanguageTest.php Tests node_access and select queries with node_access tag functionality with
multiple languages with a test node access module that is not language-aware.

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