interface PermissionsHashGeneratorInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php \Drupal\Core\Session\PermissionsHashGeneratorInterface
Defines the user permissions hash generator interface.
Hierarchy
- interface \Drupal\Core\Session\PermissionsHashGeneratorInterface
Expanded class hierarchy of PermissionsHashGeneratorInterface
All classes that implement PermissionsHashGeneratorInterface
1 file declares its use of PermissionsHashGeneratorInterface
- AccountPermissionsCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ AccountPermissionsCacheContext.php - Contains \Drupal\Core\Cache\Context\AccountPermissionsCacheContext.
File
- core/
lib/ Drupal/ Core/ Session/ PermissionsHashGeneratorInterface.php, line 13 - Contains \Drupal\Core\Session\PermissionsHashGeneratorInterface.
Namespace
Drupal\Core\SessionView source
interface PermissionsHashGeneratorInterface {
/**
* Generates a hash that uniquely identifies a user's permissions.
*
* @param \Drupal\Core\Session\AccountInterface $account
* The user account for which to get the permissions hash.
*
* @return string
* A permissions hash.
*/
public function generate(AccountInterface $account);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PermissionsHashGeneratorInterface:: |
public | function | Generates a hash that uniquely identifies a user's permissions. | 1 |