PermissionsHashGeneratorInterface::generate

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);
doc_Drupal
2016-10-29 09:33:43
Comments
Leave a Comment

Please login to continue.