public function WebformSubmissionStorageInterface::getSourceEntityAsOptions in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::getSourceEntityAsOptions()
Get webform submission source entities as options.
Parameters
\Drupal\webform\WebformInterface $webform: A webform.
string $entity_type: A source entity type.
Return value
array An array of source entities as options that the webform has been submitted from.
1 method overrides WebformSubmissionStorageInterface::getSourceEntityAsOptions()
- WebformSubmissionStorage::getSourceEntityAsOptions in src/
WebformSubmissionStorage.php - Get webform submission source entities as options.
File
- src/
WebformSubmissionStorageInterface.php, line 337
Class
- WebformSubmissionStorageInterface
- Defines an interface for webform submission classes.
Namespace
Drupal\webformCode
public function getSourceEntityAsOptions(WebformInterface $webform, $entity_type);