You are here

public function YamlFormSubmissionStorageInterface::getDefaultColumns in YAML Form 8

Get default submission columns used to display results.

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::getDefaultColumns()
YamlFormSubmissionStorage::getDefaultColumns in src/YamlFormSubmissionStorage.php
Get default submission columns used to display results.

File

src/YamlFormSubmissionStorageInterface.php, line 207

Class

YamlFormSubmissionStorageInterface
Defines an interface for form submission classes.

Namespace

Drupal\yamlform

Code

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