You are here

public function ConfigurableFormEnhancerBase::setConfiguration in Flexiform 8

Set the configuration for the enhancer.

Parameters

array $configuration: The configuration array.

Return value

self The form enhancer.

Overrides ConfigurableFormEnhancerInterface::setConfiguration

File

src/FormEnhancer/ConfigurableFormEnhancerBase.php, line 32

Class

ConfigurableFormEnhancerBase
Base class for form enhancers.

Namespace

Drupal\flexiform\FormEnhancer

Code

public function setConfiguration(array $configuration) {
  $this->configuration = $configuration;
  return $this;
}