You are here

public function MultipleEntityForm::addFormEntityConfig in Flexiform 8

Set the config for an entity namespace.

@todo: Rename to setFormEntityConfig()?

Return value

$this The form enhancer.

File

src/Plugin/FormEnhancer/MultipleEntityForm.php, line 137

Class

MultipleEntityForm
Form enhancer for multiple entity forms.

Namespace

Drupal\flexiform\Plugin\FormEnhancer

Code

public function addFormEntityConfig($namespace, $configuration) {
  $this->configuration['entities'][$namespace] = $configuration;
  return $this;
}