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[[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
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[[api-linebreak]]
@covers ::isAllowed[[api-linebreak]]
@covers ::isForbidden[[api-linebreak]]
@covers ::isNeutral[[api-linebreak]]
AccessResultTest::testAccessConditionallyAllowed function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::allowedIf[[api-linebreak]]
@covers ::isAllowed[[api-linebreak]]
@covers ::isForbidden[[api-linebreak]]
@covers ::isNeutral[[api-linebreak]]
AccessResultTest::testAccessConditionallyForbidden function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::forbiddenIf[[api-linebreak]]
@covers ::isAllowed[[api-linebreak]]
@covers ::isForbidden[[api-linebreak]]
@covers ::isNeutral[[api-linebreak]]
AccessResultTest::testAccessForbidden function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::forbidden[[api-linebreak]]
@covers ::isAllowed[[api-linebreak]]
@covers ::isForbidden[[api-linebreak]]
@covers ::isNeutral[[api-linebreak]]
AccessResultTest::testAccessForbiddenReason function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::forbidden[[api-linebreak]]
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[[api-linebreak]]
AccessResultTest::testAndOrCacheabilityPropagation function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::andIf[[api-linebreak]]
@covers ::orIf[[api-linebreak]]
@covers ::inheritCacheability[[api-linebreak]]
AccessResultTest::testCacheContexts function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::addCacheContexts[[api-linebreak]]
@covers ::resetCacheContexts[[api-linebreak]]
@covers ::getCacheContexts[[api-linebreak]]
@covers ::cachePerPermissions[[api-linebreak]]
@covers ::cachePerUser[[api-linebreak]]
@covers…
AccessResultTest::testCacheMaxAge function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::setCacheMaxAge[[api-linebreak]]
@covers ::getCacheMaxAge[[api-linebreak]]
AccessResultTest::testCacheTags function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::addCacheTags[[api-linebreak]]
@covers ::addCacheableDependency[[api-linebreak]]
@covers ::getCacheTags[[api-linebreak]]
@covers ::resetCacheTags[[api-linebreak]]
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[[api-linebreak]]
AccessResultTest::testOrIf function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::orIf[[api-linebreak]]
AccessResultTest::testOrIfCacheabilityMerging function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::orIf[[api-linebreak]]
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.