You are here

public function FlexiformFormEntityManagerDefault::prepareEntities in Flexiform 7

Prepare the entities needed for the form, either by creating or loading.

Overrides FlexiformFormEntityManagerInterface::prepareEntities

1 call to FlexiformFormEntityManagerDefault::prepareEntities()
FlexiformFormEntityManagerDefault::getEntities in includes/flexiform.form_entity_manager.inc
Get the entities.

File

includes/flexiform.form_entity_manager.inc, line 144
Contains the default entity manager for flexiforms.

Class

FlexiformFormEntityManagerDefault
Class that manages entities in a flexiform.

Code

public function prepareEntities() {
  foreach ($this->entitySettings as $namespace => $info) {
    $this
      ->prepareEntity($namespace);
  }
}