You are here

public function MultipleEntityForm::initFormEntityConfig in Flexiform 8

Initialise the enhancer config.

Return value

array The initial config for the enhancer.

File

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

Class

MultipleEntityForm
Form enhancer for multiple entity forms.

Namespace

Drupal\flexiform\Plugin\FormEnhancer

Code

public function initFormEntityConfig() {
  return !empty($this->configuration['entities']) ? $this->configuration['entities'] : [];
}