You are here

public function FlexiformFormEntityManager::getFormEntities in Flexiform 8

Get the form entities.

File

src/FormEntity/FlexiformFormEntityManager.php, line 111

Class

FlexiformFormEntityManager
Class for form entity managers.

Namespace

Drupal\flexiform\FormEntity

Code

public function getFormEntities() {
  $form_entities = [];
  foreach ($this->contexts as $namespace => $context) {
    $form_entities[$namespace] = $context
      ->getFormEntity();
  }
  return $form_entities;
}