You are here

public function WebformSubmissionStorageInterface::getDefaultColumns in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::getDefaultColumns()

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 keyed by name.

1 method overrides WebformSubmissionStorageInterface::getDefaultColumns()
WebformSubmissionStorage::getDefaultColumns in src/WebformSubmissionStorage.php
Get default submission columns used to display results.

File

src/WebformSubmissionStorageInterface.php, line 391

Class

WebformSubmissionStorageInterface
Defines an interface for webform submission classes.

Namespace

Drupal\webform

Code

public function getDefaultColumns(WebformInterface $webform = NULL, EntityInterface $source_entity = NULL, AccountInterface $account = NULL, $include_elements = TRUE);