public function WebformSubmissionStorage::getDefaultColumnNames in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformSubmissionStorage.php \Drupal\webform\WebformSubmissionStorage::getDefaultColumnNames()
Get default submission columns used to display results.
Parameters
\Drupal\webform\WebformInterface|null $webform: A webform.
\Drupal\Core\Entity\EntityInterface|null $source_entity: A webform submission source entity.
\Drupal\Core\Session\AccountInterface|null $account: A user account.
bool $include_elements: Flag that include all form element in the list of columns.
Return value
array An associative array of columns names.
Overrides WebformSubmissionStorageInterface::getDefaultColumnNames
1 call to WebformSubmissionStorage::getDefaultColumnNames()
- WebformSubmissionStorage::getCustomColumns in src/
WebformSubmissionStorage.php - Get customized submission columns used to display custom table.
File
- src/
WebformSubmissionStorage.php, line 858
Class
- WebformSubmissionStorage
- Defines the webform submission storage.
Namespace
Drupal\webformCode
public function getDefaultColumnNames(WebformInterface $webform = NULL, EntityInterface $source_entity = NULL, AccountInterface $account = NULL, $include_elements = TRUE) {
$columns = $this
->getDefaultColumns($webform, $source_entity, $account, $include_elements);
return array_keys($columns);
}