You are here

public function WebformProtectedDownloadsHandler::getSummary in Webform Protected Downloads 8

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

Return value

array A render array.

Overrides WebformHandlerBase::getSummary

File

src/Plugin/WebformHandler/WebformProtectedDownloadsHandler.php, line 73

Class

WebformProtectedDownloadsHandler
Handler for protected downloads

Namespace

Drupal\webform_protected_downloads\Plugin\WebformHandler

Code

public function getSummary() {
  $configuration = $this
    ->getConfiguration();
  $settings = $configuration['settings'];
  return [
    '#settings' => $settings,
  ] + parent::getSummary();
}