BlockContentRevisionRevertTest::$permissions |
property |
core/modules/block_content/tests/src/Functional/BlockContentRevisionRevertTest.php |
Permissions to grant admin user. |
BlockContentRevisionVersionHistoryTest::$permissions |
property |
core/modules/block_content/tests/src/Functional/BlockContentRevisionVersionHistoryTest.php |
Permissions to grant admin user. |
BlockContentTestBase::$permissions |
property |
core/modules/block_content/tests/src/Functional/Views/BlockContentTestBase.php |
Permissions to grant admin user. |
BlockContentTestBase::$permissions |
property |
core/modules/block_content/tests/src/Functional/BlockContentTestBase.php |
Permissions to grant admin user. |
BlockContentTranslationUITest::getTranslatorPermissions |
function |
core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php |
Returns an array of permissions needed for the translator. |
BlockContentTypeTest::$permissions |
property |
core/modules/block_content/tests/src/Functional/BlockContentTypeTest.php |
Permissions to grant admin user. |
BlockContentUpdateTest::testBlockLibraryPermissionsUpdate |
function |
core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php |
Tests the permissions are updated for users with "administer blocks". |
block_content.permissions.yml |
file |
core/modules/block_content/block_content.permissions.yml |
core/modules/block_content/block_content.permissions.yml |
block_content_post_update_sort_permissions |
function |
core/modules/block_content/block_content.post_update.php |
Update permissions for users with "administer blocks" permission. |
book.permissions.yml |
file |
core/modules/book/book.permissions.yml |
core/modules/book/book.permissions.yml |
BundlePermissionHandlerTrait::generatePermissions |
function |
core/lib/Drupal/Core/Entity/BundlePermissionHandlerTrait.php |
Builds a permissions array for the supplied bundles. |
BundlePermissionHandlerTraitTest::buildPermissions |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundlePermissionHandlerTraitTest.php |
|
BundlePermissionHandlerTraitTest::testGeneratePermissions |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundlePermissionHandlerTraitTest.php |
@covers ::generatePermissions |
cache_context.user.permissions |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\AccountPermissionsCacheContext |
CalculatedPermissions |
class |
core/lib/Drupal/Core/Session/CalculatedPermissions.php |
Represents a calculated set of permissions with cacheable metadata. |
CalculatedPermissions.php |
file |
core/lib/Drupal/Core/Session/CalculatedPermissions.php |
|
CalculatedPermissions::__construct |
function |
core/lib/Drupal/Core/Session/CalculatedPermissions.php |
Constructs a new CalculatedPermissions. |
CalculatedPermissionsInterface |
interface |
core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php |
Defines the calculated permissions interface. |
CalculatedPermissionsInterface.php |
file |
core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php |
|
CalculatedPermissionsInterface::getItem |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php |
Retrieves a single calculated permission item from a given scope. |
CalculatedPermissionsInterface::getItems |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php |
Retrieves all of the calculated permission items, regardless of scope. |
CalculatedPermissionsInterface::getItemsByScope |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php |
Retrieves all of the calculated permission items for the given scope. |
CalculatedPermissionsInterface::getScopes |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php |
Retrieves all of the scopes that have items for them. |
CalculatedPermissionsItem |
class |
core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php |
Represents a single entry for the calculated permissions. |
CalculatedPermissionsItem.php |
file |
core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php |
|
CalculatedPermissionsItem::getIdentifier |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php |
Returns the identifier within the scope. |
CalculatedPermissionsItem::getPermissions |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php |
Returns the permissions for the calculated permissions item. |
CalculatedPermissionsItem::getScope |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php |
Returns the scope of the calculated permissions item. |
CalculatedPermissionsItem::hasPermission |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php |
Returns whether this item has a given permission. |
CalculatedPermissionsItem::isAdmin |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php |
Returns whether this item grants admin privileges in its scope. |
CalculatedPermissionsItem::__construct |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php |
Constructs a new CalculatedPermissionsItem. |
CalculatedPermissionsItemInterface |
interface |
core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php |
Defines the calculated permissions item interface. |
CalculatedPermissionsItemInterface.php |
file |
core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php |
|
CalculatedPermissionsItemInterface::getIdentifier |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php |
Returns the identifier within the scope. |
CalculatedPermissionsItemInterface::getPermissions |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php |
Returns the permissions for the calculated permissions item. |
CalculatedPermissionsItemInterface::getScope |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php |
Returns the scope of the calculated permissions item. |
CalculatedPermissionsItemInterface::hasPermission |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php |
Returns whether this item has a given permission. |
CalculatedPermissionsItemInterface::isAdmin |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php |
Returns whether this item grants admin privileges in its scope. |
CalculatedPermissionsItemTest |
class |
core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php |
Tests the CalculatedPermissionsItem value object. |
CalculatedPermissionsItemTest.php |
file |
core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php |
|
CalculatedPermissionsItemTest::testConstructor |
function |
core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php |
Tests that the object values were set in the constructor. |
CalculatedPermissionsItemTest::testHasPermission |
function |
core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php |
Tests the permission check when the admin flag is not set. |
CalculatedPermissionsItemTest::testHasPermissionWithAdminFlag |
function |
core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php |
Tests the permission check when the admin flag is set. |
CalculatedPermissionsTest |
class |
core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php |
Tests the CalculatedPermissions value object. |
CalculatedPermissionsTest.php |
file |
core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php |
|
CalculatedPermissionsTest::testConstructor |
function |
core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php |
Tests that the object values were set in the constructor. |
CalculatedPermissionsTrait |
trait |
core/lib/Drupal/Core/Session/CalculatedPermissionsTrait.php |
Trait for \Drupal\Core\Session\CalculatedPermissionsInterface. |
CalculatedPermissionsTrait.php |
file |
core/lib/Drupal/Core/Session/CalculatedPermissionsTrait.php |
|
CalculatedPermissionsTrait::$items |
property |
core/lib/Drupal/Core/Session/CalculatedPermissionsTrait.php |
A list of calculated permission items, keyed by scope and identifier. |
CalculatedPermissionsTrait::getItem |
function |
core/lib/Drupal/Core/Session/CalculatedPermissionsTrait.php |
|