You are here

public function WebformSubmissionStorageInterface::getColumns in Webform 6.x

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

Get submission columns used to display results table.

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::getColumns()
WebformSubmissionStorage::getColumns in src/WebformSubmissionStorage.php
Get submission columns used to display results table.

File

src/WebformSubmissionStorageInterface.php, line 424

Class

WebformSubmissionStorageInterface
Defines an interface for webform submission classes.

Namespace

Drupal\webform

Code

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