You are here

public function FlexiformFormEntityManagerDefault::saveEntitySettings in Flexiform 7

Save Entity Settings.

2 calls to FlexiformFormEntityManagerDefault::saveEntitySettings()
FlexiformFormEntityManagerDefault::removeEntitySettings in includes/flexiform.form_entity_manager.inc
Remove and entity from this form.
FlexiformFormEntityManagerDefault::updateEntitySettings in includes/flexiform.form_entity_manager.inc
Update entity settings.

File

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

Class

FlexiformFormEntityManagerDefault
Class that manages entities in a flexiform.

Code

public function saveEntitySettings() {
  $flexiform = $this
    ->getBuilder()
    ->getFlexiform();
  $flexiform->entities = $this->entitySettings;
  $flexiform
    ->save();
}