You are here

public function FlexiformController::save in Flexiform 7

Overrides EntityAPIController::save().

Overrides EntityAPIControllerExportable::save

File

./flexiform.entity.inc, line 138
flexiform.entity.inc

Class

FlexiformController
The Controller for FlexiformSubmission entities

Code

public function save($flexiform, DatabaseTransaction $transaction = NULL) {
  $return = parent::save($flexiform);
  $this
    ->storeDisplays($flexiform);
  $this
    ->storeTags($flexiform);
  return $return;
}