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 10.3.x for check
  5. Other projects
Title Object type File name Summary
NodeAccessControlHandler::checkViewAccess function core/modules/node/src/NodeAccessControlHandler.php Performs view access checks.
NodeAccessControlHandlerInterface::checkAllGrants function core/modules/node/src/NodeAccessControlHandlerInterface.php Checks all grants for a given account.
NodeAccessGrantsCacheContext::checkNodeGrants function core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php Checks the node grants for the given operation.
NodeAccessLanguageFallbackTest::checkRecords function core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php Queries the node_access table and checks for proper storage.
NodeEditFormTest::checkVariousAuthoredByValues function core/modules/node/tests/src/Functional/NodeEditFormTest.php Checks that the "authored by" works correctly with various values.
NodeGrantDatabaseStorage::checkAll function core/modules/node/src/NodeGrantDatabaseStorage.php
NodeGrantDatabaseStorageInterface::checkAll function core/modules/node/src/NodeGrantDatabaseStorageInterface.php Checks all grants for a given account.
NodePreviewAccessCheck class core/modules/node/src/Access/NodePreviewAccessCheck.php Determines access to node previews.
NodePreviewAccessCheck.php file core/modules/node/src/Access/NodePreviewAccessCheck.php
NodePreviewAccessCheck::$entityTypeManager property core/modules/node/src/Access/NodePreviewAccessCheck.php The entity type manager service.
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 Determines whether it is save to store a page in the cache.
NoSessionOpen::check function core/lib/Drupal/Core/PageCache/RequestPolicy/NoSessionOpen.php Determines whether delivery of a cached page should be attempted.
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).
PackageManagerKernelTestBase::assertStatusCheckResults function core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php Asserts validation results are returned from the status check event.
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 Returns a URL object, if the path is valid.
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.
PathValidatorTest::testGetUrlIfValidWithoutAccessCheckWithInvalidPath function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the getUrlIfValidWithoutAccessCheck() method with an invalid path.
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 Checks whether an account has a permission.
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

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