You are here

public function WebformAccessGroupStorageInterface::getUserEntities in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_access/src/WebformAccessGroupStorageInterface.php \Drupal\webform_access\WebformAccessGroupStorageInterface::getUserEntities()

Get source entities associated with a user account.

Parameters

\Drupal\Core\Session\AccountInterface $account: A user account.

string|null $entity_type: Source entity type.

Return value

\Drupal\Core\Entity\EntityInterface[] Get source entities associated with a user account.

1 method overrides WebformAccessGroupStorageInterface::getUserEntities()
WebformAccessGroupStorage::getUserEntities in modules/webform_access/src/WebformAccessGroupStorage.php
Get source entities associated with a user account.

File

modules/webform_access/src/WebformAccessGroupStorageInterface.php, line 44

Class

WebformAccessGroupStorageInterface
Provides an interface for Webform Access Group storage.

Namespace

Drupal\webform_access

Code

public function getUserEntities(AccountInterface $account, $entity_type = NULL);