You are here

public function TestEntityMappingWebformHandler::getSummary in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestEntityMappingWebformHandler.php \Drupal\webform_test_handler\Plugin\WebformHandler\TestEntityMappingWebformHandler::getSummary()

Returns a render array summarizing the configuration of the webform handler.

Return value

array A render array.

Overrides WebformHandlerBase::getSummary

File

tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestEntityMappingWebformHandler.php, line 68

Class

TestEntityMappingWebformHandler
Webform submission entity mapping test handler.

Namespace

Drupal\webform_test_handler\Plugin\WebformHandler

Code

public function getSummary() {
  return [
    '#markup' => Yaml::encode($this->configuration),
    '#prefix' => '<pre>',
    '#suffix' => '<pre>',
  ];
}