public function WebformAccessGroupStorageInterface::loadByEntities in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_access/src/WebformAccessGroupStorageInterface.php \Drupal\webform_access\WebformAccessGroupStorageInterface::loadByEntities()
Load webform access groups by their related entity references.
Parameters
\Drupal\webform\WebformInterface|null $webform: (optional) The webform that the submission token is associated with.
\Drupal\Core\Entity\EntityInterface|null $source_entity: (optional) A webform submission source entity.
\Drupal\Core\Session\AccountInterface|null $account: (optional) A user account.
string $type: (optional) Webform access type.
Return value
\Drupal\webform\WebformSubmissionInterface[] An array of webform access group objects indexed by their ids.
1 method overrides WebformAccessGroupStorageInterface::loadByEntities()
- WebformAccessGroupStorage::loadByEntities in modules/
webform_access/ src/ WebformAccessGroupStorage.php - Load webform access groups by their related entity references.
File
- modules/
webform_access/ src/ WebformAccessGroupStorageInterface.php, line 31
Class
- WebformAccessGroupStorageInterface
- Provides an interface for Webform Access Group storage.
Namespace
Drupal\webform_accessCode
public function loadByEntities(WebformInterface $webform = NULL, EntityInterface $source_entity = NULL, AccountInterface $account = NULL, $type = NULL);