Search for all

  1. Search 7.x for all
  2. Search 8.9.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
NodeAccessControlHandler::checkFieldAccess function core/modules/node/src/NodeAccessControlHandler.php Default field access as determined by this access control handler.
NodeAccessControlHandler::countGrants function core/modules/node/src/NodeAccessControlHandler.php Counts available node grants.
NodeAccessControlHandler::createAccess function core/modules/node/src/NodeAccessControlHandler.php Checks access to create an entity.
NodeAccessControlHandler::createInstance function core/modules/node/src/NodeAccessControlHandler.php Instantiates a new instance of this entity handler.
NodeAccessControlHandler::deleteGrants function core/modules/node/src/NodeAccessControlHandler.php Deletes all node access entries.
NodeAccessControlHandler::REVISION_OPERATION_MAP constant core/modules/node/src/NodeAccessControlHandler.php Map of revision operations.
NodeAccessControlHandler::writeDefaultGrant function core/modules/node/src/NodeAccessControlHandler.php Creates the default node access grant entry on the grant storage.
NodeAccessControlHandler::__construct function core/modules/node/src/NodeAccessControlHandler.php Constructs a NodeAccessControlHandler object.
NodeAccessControlHandlerInterface interface core/modules/node/src/NodeAccessControlHandlerInterface.php Node specific entity access control methods.
NodeAccessControlHandlerInterface.php file core/modules/node/src/NodeAccessControlHandlerInterface.php
NodeAccessControlHandlerInterface::acquireGrants function core/modules/node/src/NodeAccessControlHandlerInterface.php Gets the list of node access grants.
NodeAccessControlHandlerInterface::checkAllGrants function core/modules/node/src/NodeAccessControlHandlerInterface.php Checks all grants for a given account.
NodeAccessControlHandlerInterface::countGrants function core/modules/node/src/NodeAccessControlHandlerInterface.php Counts available node grants.
NodeAccessControlHandlerInterface::deleteGrants function core/modules/node/src/NodeAccessControlHandlerInterface.php Deletes all node access entries.
NodeAccessControlHandlerInterface::writeDefaultGrant function core/modules/node/src/NodeAccessControlHandlerInterface.php Creates the default node access grant entry on the grant storage.
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::$noAccessUser2 property core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php User without permission to view content.
NodeAccessGrantsCacheContextTest::$userMapping property core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php
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 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 multilingual node access with a language-aware module.

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