Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
PendingUpdatesValidator class core/modules/package_manager/src/Validator/PendingUpdatesValidator.php Validates that there are no pending database updates.
PendingUpdatesValidator.php file core/modules/package_manager/src/Validator/PendingUpdatesValidator.php
PendingUpdatesValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/PendingUpdatesValidator.php
PendingUpdatesValidator::updatesExist function core/modules/package_manager/src/Validator/PendingUpdatesValidator.php Checks if there are any pending update or post-update hooks.
PendingUpdatesValidator::validate function core/modules/package_manager/src/Validator/PendingUpdatesValidator.php Validates that there are no pending database updates.
PendingUpdatesValidator::__construct function core/modules/package_manager/src/Validator/PendingUpdatesValidator.php
PendingUpdatesValidatorTest class core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php Tests Pending Updates Validator.
PendingUpdatesValidatorTest.php file core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php
PendingUpdatesValidatorTest::$modules property core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php Modules to install.
PendingUpdatesValidatorTest::testNoPendingUpdates function core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php Tests that no error is raised if there are no pending updates.
PendingUpdatesValidatorTest::testPendingPostUpdate function core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php Tests that an error is raised if there are pending post-updates.
PendingUpdatesValidatorTest::testPendingUpdateAfterStaged function core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php Tests that pending updates stop an operation from being applied.
PendingUpdatesValidatorTest::testPendingUpdateHook function core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php Tests that an error is raised if there are pending schema updates.
PerformanceDataCollector class core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php Collects and stores performance data for database and cache operations.
PerformanceDataCollector.php file core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php
PerformanceDataCollector::$cacheOperations property core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php Cache operations collected during the request.
PerformanceDataCollector::$cacheTagOperations property core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php Cache tag operations collected during the request.
PerformanceDataCollector::$databaseEvents property core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php Database events collected during the request.
PerformanceDataCollector::addCacheOperation function core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php Adds a cache operation.
PerformanceDataCollector::addCacheTagOperation function core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php Adds a cache tag operation.
PerformanceDataCollector::destruct function core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php Performs destruct operations.
PerformanceDataCollector::getSubscribedEvents function core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php
PerformanceDataCollector::onDatabaseEvent function core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php Logs database statements.
performance_test.cache_factory service core/modules/system/tests/modules/performance_test/performance_test.services.yml Drupal\performance_test\Cache\CacheFactoryDecorator
performance_test.cache_tags.invalidator.checksum service core/modules/system/tests/modules/performance_test/performance_test.services.yml Drupal\performance_test\Cache\CacheTagsChecksumDecorator
Permissions::$roleStorage property core/modules/user/src/Plugin/views/field/Permissions.php The role storage.
PermissionsHashGenerator class core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Generates and caches the permissions hash for a user.
PermissionsHashGenerator.php file core/lib/Drupal/Core/Session/PermissionsHashGenerator.php
PermissionsHashGenerator::generate function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Generates a hash that uniquely identifies a user's permissions.
PermissionsHashGenerator::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Gets the cacheability metadata for the generated hash.
PermissionsHashGenerator::hash function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Hashes the given string.
PermissionsHashGenerator::__construct function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Constructs a PermissionsHashGenerator object.
PermissionsHashGeneratorInterface interface core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Defines the user permissions hash generator interface.
PermissionsHashGeneratorInterface.php file core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php
PermissionsHashGeneratorInterface::generate function core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Generates a hash that uniquely identifies a user's permissions.
PermissionsHashGeneratorInterface::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Gets the cacheability metadata for the generated hash.
PermissionsHashGeneratorTest class core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests Drupal\Core\Session\PermissionsHashGenerator.
PermissionsHashGeneratorTest.php file core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
PermissionsHashGeneratorTest::$account1 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked user 1 account.
PermissionsHashGeneratorTest::$account2 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked user 2 account.
PermissionsHashGeneratorTest::$permissionsHash property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The permission hash class being tested.
PermissionsHashGeneratorTest::$processor property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked access policy processor.
PermissionsHashGeneratorTest::$staticCache property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked cache backend.
PermissionsHashGeneratorTest::setUp function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
PermissionsHashGeneratorTest::testGenerateAdmin function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method for admin users.
PermissionsHashGeneratorTest::testGenerateCache function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method's caching.
PermissionsHashGeneratorTest::testGenerateNoAccessPolicies function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method with no access policies.
PermissionsHashGeneratorTest::testGenerateRegular function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method for regular accounts.
PermissionsPerBundleTest::testActionIsOnlyAvailableToUserRoles function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests that the permissions-per-bundle action can only be applied to roles.
PermissionsPerBundleTest::testGrantPermissionsToAllBundlesExceptSome function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests granting permissions for all bundles except certain ones.

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