You are here

public function WebformElementInterface::formatTableColumn in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::formatTableColumn()

Format an element's table column value.

Parameters

array $element: An element.

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

array $options: An array of options returned from ::getTableColumns().

Return value

array|string The element's value formatted as an HTML string or a render array.

1 method overrides WebformElementInterface::formatTableColumn()
WebformElementBase::formatTableColumn in src/Plugin/WebformElementBase.php
Format an element's table column value.

File

src/Plugin/WebformElementInterface.php, line 679

Class

WebformElementInterface
Defines the interface for webform elements.

Namespace

Drupal\webform\Plugin

Code

public function formatTableColumn(array $element, WebformSubmissionInterface $webform_submission, array $options = []);