protected function LayoutContainer::build in Webform Layout Container 8
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/ LayoutContainer.php, line 33
Class
- LayoutContainer
- Provides a 'layout container' type element to Webform.
Namespace
Drupal\webform_layout_container\Plugin\WebformElementCode
protected function build($format, array &$element, WebformSubmissionInterface $webform_submission, array $options = []) {
return $value;
}