You are here

public function GroupPermissionsHashGeneratorInterface::generateHash in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Access/GroupPermissionsHashGeneratorInterface.php \Drupal\group\Access\GroupPermissionsHashGeneratorInterface::generateHash()

Generates a hash for an account's complete group 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 GroupPermissionsHashGeneratorInterface::generateHash()
GroupPermissionsHashGenerator::generateHash in src/Access/GroupPermissionsHashGenerator.php
Generates a hash for an account's complete group permissions.

File

src/Access/GroupPermissionsHashGeneratorInterface.php, line 23

Class

GroupPermissionsHashGeneratorInterface
Defines the group permissions hash generator interface.

Namespace

Drupal\group\Access

Code

public function generateHash(AccountInterface $account);