function PermissionsHashGeneratorInterface::generate
Generates a hash that uniquely identifies a user's permissions.
Parameters
\Drupal\Core\Session\AccountInterface $account: The user account for which to get the permissions hash.
Return value
string A permissions hash.
1 method overrides PermissionsHashGeneratorInterface::generate()
- PermissionsHashGenerator::generate in core/lib/ Drupal/ Core/ Session/ PermissionsHashGenerator.php 
- Cached by role, invalidated whenever permissions change.
File
- 
              core/lib/ Drupal/ Core/ Session/ PermissionsHashGeneratorInterface.php, line 19 
Class
- PermissionsHashGeneratorInterface
- Defines the user permissions hash generator interface.
Namespace
Drupal\Core\SessionCode
public function generate(AccountInterface $account);Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
