public PermissionsHashGeneratorInterface::generate(AccountInterface $account)
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.
File
- core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php, line 19
Class
- PermissionsHashGeneratorInterface
- Defines the user permissions hash generator interface.
Namespace
Drupal\Core\Session
Code
public function generate(AccountInterface $account);
Please login to continue.