Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
Permissions::__construct function core/modules/user/src/Plugin/views/field/Permissions.php Constructs a \Drupal\user\Plugin\views\field\Permissions object.
Permissions::__construct function core/modules/user/src/Plugin/views/filter/Permissions.php Constructs a Permissions object.
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.
PermissionsPerBundle class core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/PermissionsPerBundle.php @internal
This API is experimental.
PermissionsPerBundle.php file core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/PermissionsPerBundle.php
PermissionsPerBundle::apply function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/PermissionsPerBundle.php Applies the config action.
PermissionsPerBundle::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/PermissionsPerBundle.php Creates an instance of the plugin.
PermissionsPerBundle::parseValue function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/PermissionsPerBundle.php Parses the value supplied to ::apply().
PermissionsPerBundle::__construct function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/PermissionsPerBundle.php
PermissionsPerBundleDeriver class core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/PermissionsPerBundleDeriver.php @internal
This API is experimental.
PermissionsPerBundleDeriver.php file core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/PermissionsPerBundleDeriver.php
PermissionsPerBundleDeriver::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/PermissionsPerBundleDeriver.php Creates a new class instance.
PermissionsPerBundleDeriver::getDerivativeDefinitions function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/PermissionsPerBundleDeriver.php Gets the definition of all derivatives of a base plugin.
PermissionsPerBundleDeriver::__construct function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/PermissionsPerBundleDeriver.php
PermissionsPerBundleTest class core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests Permissions Per Bundle.
PermissionsPerBundleTest.php file core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php
PermissionsPerBundleTest::$modules property core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Modules to install.
PermissionsPerBundleTest::applyRecipeFromString function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Given a string of `recipe.yml` contents, applies it to the site.
PermissionsPerBundleTest::setUp function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php
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::testGrantPermissionsOnOneBundleThenAll function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests granting permissions for one bundle, then all of them.
PermissionsPerBundleTest::testGrantPermissionsPerBundle function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests granting multiple bundle-specific permissions.
PermissionsPerBundleTest::testGrantPermissionsToAllBundlesExceptSome function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests granting permissions for all bundles except certain ones.
PermissionsPerBundleTest::testInvalidValue function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests that there is an exception if the permission templates are invalid.
PermissionsTest class core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php Tests Drupal\user\Plugin\views\field\Permissions.
PermissionsTest class core/modules/system/tests/src/Kernel/PermissionsTest.php Tests Permissions.
PermissionsTest.php file core/modules/system/tests/src/Kernel/PermissionsTest.php
PermissionsTest.php file core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php
PermissionsTest::$modules property core/modules/system/tests/src/Kernel/PermissionsTest.php Modules to install.

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