You are here

public function YamlFormHandlerBase::getConfiguration in YAML Form 8

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurablePluginInterface::getConfiguration

2 calls to YamlFormHandlerBase::getConfiguration()
EmailYamlFormHandler::getEmailConfiguration in src/Plugin/YamlFormHandler/EmailYamlFormHandler.php
Get mail configuration values.
RemotePostYamlFormHandler::getSummary in src/Plugin/YamlFormHandler/RemotePostYamlFormHandler.php
Returns a render array summarizing the configuration of the form handler.

File

src/YamlFormHandlerBase.php, line 222

Class

YamlFormHandlerBase
Provides a base class for a form handler.

Namespace

Drupal\yamlform

Code

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