public function WebformSubmissionStorageInterface::loadByEntities in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::loadByEntities()
Load webform submissions 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.
Return value
\Drupal\webform\WebformSubmissionInterface[] An array of webform submission objects indexed by their ids.
1 method overrides WebformSubmissionStorageInterface::loadByEntities()
- WebformSubmissionStorage::loadByEntities in src/
WebformSubmissionStorage.php - Load webform submissions by their related entity references.
File
- src/
WebformSubmissionStorageInterface.php, line 91
Class
- WebformSubmissionStorageInterface
- Defines an interface for webform submission classes.
Namespace
Drupal\webformCode
public function loadByEntities(WebformInterface $webform, EntityInterface $source_entity = NULL, AccountInterface $account = NULL);