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 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
PermissionHandlerInterface::moduleProvidesPermissions function core/modules/user/src/PermissionHandlerInterface.php Determines whether a module provides some permissions.
PermissionHandlerTest class core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests the permission handler.
PermissionHandlerTest.php file core/modules/user/tests/src/Unit/PermissionHandlerTest.php
PermissionHandlerTest::$callableResolver property core/modules/user/tests/src/Unit/PermissionHandlerTest.php The mocked callable resolver.
PermissionHandlerTest::$moduleHandler property core/modules/user/tests/src/Unit/PermissionHandlerTest.php The mocked module handler.
PermissionHandlerTest::$permissionHandler property core/modules/user/tests/src/Unit/PermissionHandlerTest.php The tested permission handler.
PermissionHandlerTest::$stringTranslation property core/modules/user/tests/src/Unit/PermissionHandlerTest.php The mocked string translation.
PermissionHandlerTest::assertPermissions function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Checks that the permissions are like expected.
PermissionHandlerTest::mockModuleExtension function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Provides an extension object for a given module with a human name.
PermissionHandlerTest::setUp function core/modules/user/tests/src/Unit/PermissionHandlerTest.php
PermissionHandlerTest::testBuildPermissionsSortPerModule function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests permissions sort inside a module.
PermissionHandlerTest::testBuildPermissionsYaml function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests permissions provided by YML files.
PermissionHandlerTest::testBuildPermissionsYamlCallback function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests dynamic callback permissions provided by YML files.
PermissionHandlerTest::testPermissionsYamlStaticAndCallback function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests a YAML file containing both static permissions and a callback.
Permissions class core/modules/user/src/Plugin/views/field/Permissions.php Field handler to provide a list of permissions.
Permissions class core/modules/user/src/Plugin/views/filter/Permissions.php Filter handler for user roles.
Permissions class core/modules/content_moderation/src/Permissions.php Defines a class for dynamic permissions based on transitions.
Permissions.php file core/modules/content_moderation/src/Permissions.php
Permissions.php file core/modules/user/src/Plugin/views/field/Permissions.php
Permissions.php file core/modules/user/src/Plugin/views/filter/Permissions.php
Permissions::$deprecatedProperties property core/modules/user/src/Plugin/views/filter/Permissions.php The service properties that should raise a deprecation error.
Permissions::$moduleExtensionList property core/modules/user/src/Plugin/views/filter/Permissions.php Module extension list.
Permissions::$moduleHandler property core/modules/user/src/Plugin/views/field/Permissions.php The module handler.
Permissions::$permissionHandler property core/modules/user/src/Plugin/views/filter/Permissions.php The permission handler.
Permissions::$roleStorage property core/modules/user/src/Plugin/views/field/Permissions.php The role storage.
Permissions::getValueOptions function core/modules/user/src/Plugin/views/filter/Permissions.php
Permissions::init function core/modules/user/src/Plugin/views/field/Permissions.php
Permissions::preRender function core/modules/user/src/Plugin/views/field/Permissions.php
Permissions::query function core/modules/user/src/Plugin/views/field/Permissions.php
Permissions::query function core/modules/user/src/Plugin/views/filter/Permissions.php Replace the configured permission with a filter by all roles that have this
permission.
Permissions::render_item function core/modules/user/src/Plugin/views/field/Permissions.php
Permissions::transitionPermissions function core/modules/content_moderation/src/Permissions.php Returns an array of transition permissions.
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
PermissionsHashGenerator::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php
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.

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