Search for check

  1. Search 7.x for check
  2. Search 9.5.x for check
  3. Search 8.9.x for check
  4. Search 11.x for check
  5. Other projects
Title Object type File name Summary
NodePreviewAccessCheck::access function core/modules/node/src/Access/NodePreviewAccessCheck.php Checks access to the node preview page.
NodePreviewAccessCheck::__construct function core/modules/node/src/Access/NodePreviewAccessCheck.php Constructs an EntityCreateAccessCheck object.
NodeTypeAccessControlHandler::checkAccess function core/modules/node/src/NodeTypeAccessControlHandler.php Performs access checks.
NormalizerBase::checkFormat function core/modules/jsonapi/src/Normalizer/NormalizerBase.php Checks if the provided format is supported by this normalizer.
NormalizerBase::checkFormat function core/modules/serialization/src/Normalizer/NormalizerBase.php Checks if the provided format is supported by this normalizer.
NoServerError::check function core/lib/Drupal/Core/PageCache/ResponsePolicy/NoServerError.php
NoSessionOpen::check function core/lib/Drupal/Core/PageCache/RequestPolicy/NoSessionOpen.php
olivero_preprocess_checkboxes function core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK().
OptionsWidgetsTest::testCheckBoxes function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Tests the 'options_buttons' widget (multiple select).
PasswordInterface::check function core/lib/Drupal/Core/Password/PasswordInterface.php Check whether a plain text password matches a hashed password.
PasswordVerifyTest::testPasswordCheckSupported function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Tests that check() verifies passwords if hash settings are supported.
PasswordVerifyTest::testPasswordCheckUnknownHash function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Tests that check() is forwarded to corePassword instance if hash settings are not recognized.
PathValidator::getUrlIfValidWithoutAccessCheck function core/lib/Drupal/Core/Path/PathValidator.php
PathValidatorInterface::getUrlIfValidWithoutAccessCheck function core/lib/Drupal/Core/Path/PathValidatorInterface.php Returns a URL object, if the path is valid.
PathValidatorTest::testGetUrlIfValidWithoutAccessCheck function core/tests/Drupal/KernelTests/Core/Path/PathValidatorTest.php
PathValidatorTest::testGetUrlIfValidWithoutAccessCheck function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the getUrlIfValidWithoutAccessCheck() method.
PerformanceData::$cacheTagChecksumCount property core/tests/Drupal/Tests/PerformanceData.php The number of cache tag checksum checks.
PerformanceData::getCacheTagChecksumCount function core/tests/Drupal/Tests/PerformanceData.php Gets the cache tag checksum count.
PerformanceData::setCacheTagChecksumCount function core/tests/Drupal/Tests/PerformanceData.php Sets the cache tag checksum count.
performance_test.cache_tags.invalidator.checksum service core/modules/system/tests/modules/performance_test/performance_test.services.yml Drupal\performance_test\Cache\CacheTagsChecksumDecorator
PermissionAccessCheck class core/modules/user/src/Access/PermissionAccessCheck.php Permission access check.
PermissionAccessCheck.php file core/modules/user/src/Access/PermissionAccessCheck.php
PermissionAccessCheck::access function core/modules/user/src/Access/PermissionAccessCheck.php Checks access.
PermissionAccessCheckTest class core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php @coversDefaultClass \Drupal\user\Access\PermissionAccessCheck
@group Routing
@group Access
PermissionAccessCheckTest.php file core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php
PermissionAccessCheckTest::$accessCheck property core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php The tested access checker.
PermissionAccessCheckTest::$container property core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php The dependency injection container.
PermissionAccessCheckTest::providerTestAccess function core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php Provides data for the testAccess method.
PermissionAccessCheckTest::setUp function core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php
PermissionAccessCheckTest::testAccess function core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php Tests the access check method.
PermissionChecker class core/lib/Drupal/Core/Session/PermissionChecker.php Checks permissions for an account.
PermissionChecker.php file core/lib/Drupal/Core/Session/PermissionChecker.php
PermissionChecker::hasPermission function core/lib/Drupal/Core/Session/PermissionChecker.php
PermissionChecker::__construct function core/lib/Drupal/Core/Session/PermissionChecker.php
PermissionCheckerInterface interface core/lib/Drupal/Core/Session/PermissionCheckerInterface.php Defines a permission checker interface.
PermissionCheckerInterface.php file core/lib/Drupal/Core/Session/PermissionCheckerInterface.php
PermissionCheckerInterface::hasPermission function core/lib/Drupal/Core/Session/PermissionCheckerInterface.php Checks whether an account has a permission.
PermissionCheckerTest class core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php @coversDefaultClass \Drupal\Core\Session\PermissionChecker
@group Session
PermissionCheckerTest.php file core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php
PermissionCheckerTest::$account property core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php The mocked account to use for testing.
PermissionCheckerTest::$checker property core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php The permission checker to run tests on.
PermissionCheckerTest::$processor property core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php The mocked access policy processor.
PermissionCheckerTest::setUp function core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php
PermissionCheckerTest::testHasPermission function core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php Tests the hasPermission method under normal circumstances.
PermissionCheckerTest::testHasPermissionEmpty function core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php Tests the hasPermission method when no policy added something.
PermissionCheckerTest::testHasPermissionMixed function core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php Tests the hasPermission method when mixed scopes and identifiers exist.
PermissionCheckerTest::testHasPermissionOnlyContrib function core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php Tests the hasPermission method with only contrib scopes and identifiers.
permission_checker service core/core.services.yml Drupal\Core\Session\PermissionChecker
PhpassHashedPasswordBase::check function core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php
PhpBackend::$checksumProvider property core/lib/Drupal/Core/Cache/PhpBackend.php The cache tags checksum provider.

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