You are here

public function GroupPermissionsHashGeneratorInterface::getCacheableMetadata in Group 8

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

Gets the cacheability metadata for the generated hash.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user account for which to get the permissions hash.

Return value

\Drupal\Core\Cache\CacheableMetadata A cacheable metadata object.

1 method overrides GroupPermissionsHashGeneratorInterface::getCacheableMetadata()
GroupPermissionsHashGenerator::getCacheableMetadata in src/Access/GroupPermissionsHashGenerator.php
Gets the cacheability metadata for the generated hash.

File

src/Access/GroupPermissionsHashGeneratorInterface.php, line 34

Class

GroupPermissionsHashGeneratorInterface
Defines the group permissions hash generator interface.

Namespace

Drupal\group\Access

Code

public function getCacheableMetadata(AccountInterface $account);