Search for permissions

  1. Search 7.x for permissions
  2. Search 9.5.x for permissions
  3. Search 8.9.x for permissions
  4. Search 11.x for permissions
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Permissions class core/modules/content_moderation/src/Permissions.php Defines a class for dynamic permissions based on transitions.
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.

All search results

Title Object type File name Summary
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::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/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::$privateKey property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The private key service.
PermissionsHashGenerator::$processor property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The access policy processor.
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
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 @coversDefaultClass \Drupal\Core\Session\PermissionsHashGenerator
@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 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.

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