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

1
public function generate(AccountInterface $account);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.