Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
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/filter/Permissions.php
Permissions.php file core/modules/user/src/Plugin/views/field/Permissions.php
Permissions::$moduleHandler property core/modules/user/src/Plugin/views/field/Permissions.php The module handler.
Permissions::$moduleHandler property core/modules/user/src/Plugin/views/filter/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::create function core/modules/user/src/Plugin/views/field/Permissions.php Creates an instance of the plugin.
Permissions::create function core/modules/user/src/Plugin/views/filter/Permissions.php Creates an instance of the plugin.
Permissions::getValueOptions function core/modules/user/src/Plugin/views/filter/Permissions.php Gets the value options.
Permissions::init function core/modules/user/src/Plugin/views/field/Permissions.php Initialize the plugin.
Permissions::preRender function core/modules/user/src/Plugin/views/field/Permissions.php Runs before any fields are rendered.
Permissions::query function core/modules/user/src/Plugin/views/field/Permissions.php Called to add the field to a query.
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 Renders a single item of a row.
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/filter/Permissions.php Constructs a Permissions object.
Permissions::__construct function core/modules/user/src/Plugin/views/field/Permissions.php Constructs a \Drupal\user\Plugin\views\field\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::$cache property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The cache backend interface to use for the persistent cache.
PermissionsHashGenerator::$privateKey property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The private key service.
PermissionsHashGenerator::$static property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The cache backend interface to use for the static cache.
PermissionsHashGenerator::doGenerate function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Generates a hash that uniquely identifies the user's permissions.
PermissionsHashGenerator::generate function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Cached by role, invalidated whenever permissions change.
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.
PermissionsHashGeneratorTest class core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @coversDefaultClass \Drupal\Core\Session\PermissionsHashGenerator[[api-linebreak]]
@group Session
PermissionsHashGeneratorTest.php file core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
PermissionsHashGeneratorTest::$account1 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked super user account.
PermissionsHashGeneratorTest::$account2 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php A mocked account.
PermissionsHashGeneratorTest::$account2Updated property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php An "updated" mocked account.
PermissionsHashGeneratorTest::$account3 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php A different account.
PermissionsHashGeneratorTest::$cache property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked cache backend.

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