You are here

protected function WebformActions::build in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/WebformActions.php \Drupal\webform\Plugin\WebformElement\WebformActions::build()

Build an element as text or HTML.

Parameters

string $format: Format of the element, text or html.

array $element: An element.

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

array $options: An array of options.

Return value

array A render array representing an element as text or HTML.

Overrides ContainerBase::build

File

src/Plugin/WebformElement/WebformActions.php, line 70

Class

WebformActions
Provides a 'webform_actions' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

protected function build($format, array &$element, WebformSubmissionInterface $webform_submission, array $options = []) {
  return [];
}