You are here

public function YamlFormSubmissionStorageInterface::getColumns in YAML Form 8

Get submission columns used to display results table.

Parameters

\Drupal\yamlform\YamlFormInterface|null $yamlform: A form.

\Drupal\Core\Entity\EntityInterface|null $source_entity: A form submission source entity.

\Drupal\Core\Session\AccountInterface|null $account: A user account.

Return value

array|mixed An associative array of columns keyed by name.

1 method overrides YamlFormSubmissionStorageInterface::getColumns()
YamlFormSubmissionStorage::getColumns in src/YamlFormSubmissionStorage.php
Get submission columns used to display results table.

File

src/YamlFormSubmissionStorageInterface.php, line 222

Class

YamlFormSubmissionStorageInterface
Defines an interface for form submission classes.

Namespace

Drupal\yamlform

Code

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