You are here

public function WebformHandlerBase::getConfiguration in Webform 6.x

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

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

File

src/Plugin/WebformHandlerBase.php, line 399

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function getConfiguration() {
  return [
    'id' => $this
      ->getPluginId(),
    'label' => $this
      ->getLabel(),
    'notes' => $this
      ->getNotes(),
    'handler_id' => $this
      ->getHandlerId(),
    'status' => $this
      ->getStatus(),
    'conditions' => $this
      ->getConditions(),
    'weight' => $this
      ->getWeight(),
    'settings' => $this->configuration,
  ];
}