Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
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
@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
@group Access
AccessResultTest.php file core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
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
AccessResultTest::providerTestAllowedIfHasPermissions function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php Provides data for the testAllowedIfHasPermissions() method.
AccessResultTest::setUp function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
AccessResultTest::testAccessAllowed function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::allowed
@covers ::isAllowed
@covers ::isForbidden
@covers ::isNeutral
AccessResultTest::testAccessConditionallyAllowed function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::allowedIf
@covers ::isAllowed
@covers ::isForbidden
@covers ::isNeutral
AccessResultTest::testAccessConditionallyForbidden function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::forbiddenIf
@covers ::isAllowed
@covers ::isForbidden
@covers ::isNeutral
AccessResultTest::testAccessForbidden function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::forbidden
@covers ::isAllowed
@covers ::isForbidden
@covers ::isNeutral
AccessResultTest::testAccessForbiddenReason function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::forbidden
AccessResultTest::testAllowedIfHasPermissions function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php Tests allowedIfHasPermissions().
AccessResultTest::testAndIf function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::andIf
AccessResultTest::testAndOrCacheabilityPropagation function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::andIf
@covers ::orIf
@covers ::inheritCacheability
AccessResultTest::testCacheContexts function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::addCacheContexts
@covers ::resetCacheContexts
@covers ::getCacheContexts
@covers ::cachePerPermissions
@covers ::cachePerUser
@covers ::allowedIfHasPermission
AccessResultTest::testCacheMaxAge function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::setCacheMaxAge
@covers ::getCacheMaxAge
AccessResultTest::testCacheTags function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::addCacheTags
@covers ::addCacheableDependency
@covers ::getCacheTags
@covers ::resetCacheTags
AccessResultTest::testConstruction function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php Tests the construction of an AccessResult object.
AccessResultTest::testInheritCacheability function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::inheritCacheability
AccessResultTest::testOrIf function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::orIf
AccessResultTest::testOrIfCacheabilityMerging function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::orIf
AccessRoleTest class core/modules/user/tests/src/Functional/Views/AccessRoleTest.php Tests views role access plugin.
AccessRoleTest.php file core/modules/user/tests/src/Functional/Views/AccessRoleTest.php
AccessRoleTest::$defaultTheme property core/modules/user/tests/src/Functional/Views/AccessRoleTest.php The theme to install as the default for testing.
AccessRoleTest::$testViews property core/modules/user/tests/src/Functional/Views/AccessRoleTest.php Views used by this test.
AccessRoleTest::setUp function core/modules/user/tests/src/Functional/Views/AccessRoleTest.php Sets up the test.
AccessRoleTest::testAccessRole function core/modules/user/tests/src/Functional/Views/AccessRoleTest.php Tests role access plugin.
AccessRoleTest::testRenderCaching function core/modules/user/tests/src/Functional/Views/AccessRoleTest.php Tests access on render caching.
AccessRoleUITest class core/modules/user/tests/src/Functional/AccessRoleUITest.php Tests views role access plugin UI.
AccessRoleUITest.php file core/modules/user/tests/src/Functional/AccessRoleUITest.php
AccessRoleUITest::$defaultTheme property core/modules/user/tests/src/Functional/AccessRoleUITest.php The theme to install as the default for testing.
AccessRoleUITest::$modules property core/modules/user/tests/src/Functional/AccessRoleUITest.php Modules to install.
AccessRoleUITest::$testViews property core/modules/user/tests/src/Functional/AccessRoleUITest.php Views used by this test.
AccessRoleUITest::setUp function core/modules/user/tests/src/Functional/AccessRoleUITest.php Sets up the test.
AccessRoleUITest::testAccessRoleUI function core/modules/user/tests/src/Functional/AccessRoleUITest.php Tests the role access plugin UI.
AccessRouteAlterSubscriber class core/modules/system/src/EventSubscriber/AccessRouteAlterSubscriber.php Alters routes to add necessary requirements.
AccessRouteAlterSubscriber.php file core/modules/system/src/EventSubscriber/AccessRouteAlterSubscriber.php

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