Search for A

  1. Search 7.x for A
  2. Search 8.9.x for A
  3. Search 10.3.x for A
  4. Search 11.x for A
  5. Other projects
Title Object type File name Summary
AccessResult::inheritCacheability function core/lib/Drupal/Core/Access/AccessResult.php Inherits the cacheability of the other access result, if any.
AccessResult::isAllowed function core/lib/Drupal/Core/Access/AccessResult.php
AccessResult::isForbidden function core/lib/Drupal/Core/Access/AccessResult.php
AccessResult::isNeutral function core/lib/Drupal/Core/Access/AccessResult.php
AccessResult::neutral function core/lib/Drupal/Core/Access/AccessResult.php Creates an AccessResultInterface object with isNeutral() === TRUE.
AccessResult::orIf function core/lib/Drupal/Core/Access/AccessResult.php Combine this access result with another using OR.
AccessResult::resetCacheContexts function core/lib/Drupal/Core/Access/AccessResult.php Resets cache contexts (to the empty array).
AccessResult::resetCacheTags function core/lib/Drupal/Core/Access/AccessResult.php Resets cache tags (to the empty array).
AccessResult::setCacheMaxAge function core/lib/Drupal/Core/Access/AccessResult.php Sets the maximum age for which this access result may be cached.
AccessResultAllowed class core/lib/Drupal/Core/Access/AccessResultAllowed.php Value object indicating an allowed access result, with cacheability metadata.
AccessResultAllowed.php file core/lib/Drupal/Core/Access/AccessResultAllowed.php
AccessResultAllowed::isAllowed function core/lib/Drupal/Core/Access/AccessResultAllowed.php Checks whether this access result indicates access is explicitly allowed.
AccessResultForbidden class core/lib/Drupal/Core/Access/AccessResultForbidden.php Value object indicating a forbidden access result, with cacheability metadata.
AccessResultForbidden.php file core/lib/Drupal/Core/Access/AccessResultForbidden.php
AccessResultForbidden::$reason property core/lib/Drupal/Core/Access/AccessResultForbidden.php The reason why access is forbidden. For use in error messages.
AccessResultForbidden::getReason function core/lib/Drupal/Core/Access/AccessResultForbidden.php Gets the reason for this access result.
AccessResultForbidden::isForbidden function core/lib/Drupal/Core/Access/AccessResultForbidden.php Checks whether this access result indicates access is explicitly forbidden.
AccessResultForbidden::setReason function core/lib/Drupal/Core/Access/AccessResultForbidden.php Sets the reason for this access result.
AccessResultForbidden::__construct function core/lib/Drupal/Core/Access/AccessResultForbidden.php Constructs a new AccessResultForbidden instance.
AccessResultForbiddenTest class core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php @coversDefaultClass \Drupal\Core\Access\AccessResultForbidden[[api-linebreak]]
@group Access
AccessResultForbiddenTest.php file core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php
AccessResultForbiddenTest::testConstruction function core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php Tests the construction of an AccessResultForbidden object.
AccessResultForbiddenTest::testSetReason function core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php Tests setReason()
AccessResultInterface interface core/lib/Drupal/Core/Access/AccessResultInterface.php Interface for access result value objects.
AccessResultInterface.php file core/lib/Drupal/Core/Access/AccessResultInterface.php
AccessResultInterface::andIf function core/lib/Drupal/Core/Access/AccessResultInterface.php Combine this access result with another using AND.
AccessResultInterface::isAllowed function core/lib/Drupal/Core/Access/AccessResultInterface.php Checks whether this access result indicates access is explicitly allowed.
AccessResultInterface::isForbidden function core/lib/Drupal/Core/Access/AccessResultInterface.php Checks whether this access result indicates access is explicitly forbidden.
AccessResultInterface::isNeutral function core/lib/Drupal/Core/Access/AccessResultInterface.php Checks whether this access result indicates access is not yet determined.
AccessResultInterface::orIf function core/lib/Drupal/Core/Access/AccessResultInterface.php Combine this access result with another using OR.
AccessResultNeutral class core/lib/Drupal/Core/Access/AccessResultNeutral.php Value object indicating a neutral access result, with cacheability metadata.
AccessResultNeutral.php file core/lib/Drupal/Core/Access/AccessResultNeutral.php
AccessResultNeutral::$reason property core/lib/Drupal/Core/Access/AccessResultNeutral.php The reason why access is neutral. For use in messages.
AccessResultNeutral::getReason function core/lib/Drupal/Core/Access/AccessResultNeutral.php Gets the reason for this access result.
AccessResultNeutral::isNeutral function core/lib/Drupal/Core/Access/AccessResultNeutral.php Checks whether this access result indicates access is not yet determined.
AccessResultNeutral::setReason function core/lib/Drupal/Core/Access/AccessResultNeutral.php Sets the reason for this access result.
AccessResultNeutral::__construct function core/lib/Drupal/Core/Access/AccessResultNeutral.php Constructs a new AccessResultNeutral instance.
AccessResultNeutralTest class core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php @coversDefaultClass \Drupal\Core\Access\AccessResultNeutral[[api-linebreak]]
@group Access
AccessResultNeutralTest.php file core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php
AccessResultNeutralTest::testConstruction function core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php Tests the construction of an AccessResultForbidden object.
AccessResultNeutralTest::testSetReason function core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php Tests setReason()
AccessResultReasonInterface interface core/lib/Drupal/Core/Access/AccessResultReasonInterface.php Interface for access result value objects with stored reason for developers.
AccessResultReasonInterface.php file core/lib/Drupal/Core/Access/AccessResultReasonInterface.php
AccessResultReasonInterface::getReason function core/lib/Drupal/Core/Access/AccessResultReasonInterface.php Gets the reason for this access result.
AccessResultReasonInterface::setReason function core/lib/Drupal/Core/Access/AccessResultReasonInterface.php Sets the reason for this access result.
AccessResultTest class core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @coversDefaultClass \Drupal\Core\Access\AccessResult[[api-linebreak]]
@group Access
AccessResultTest.php file core/tests/Drupal/Tests/Core/Access/AccessResultTest.php Contains \Drupal\Tests\Core\Access\AccessResultTest.
AccessResultTest::$cacheContextsManager property core/tests/Drupal/Tests/Core/Access/AccessResultTest.php The cache contexts manager.
AccessResultTest::andOrCacheabilityPropagationProvider function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php Provides a list of access result pairs and operations to test.
AccessResultTest::assertDefaultCacheability function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @internal

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