You are here

public function BootstrapTourStepInlineEntityFormController::entityFormSubmit in Bootstrap Tour 7.2

Overrides EntityInlineEntityFormController::entityFormSubmit().

Overrides EntityInlineEntityFormController::entityFormSubmit

File

includes/bootstrap_tour.controller.inc, line 207
Defines the inline entity form controller for BootstrapTourStep entities.

Class

BootstrapTourStepInlineEntityFormController
Class BootstrapTourStepInlineEntityFormController

Code

public function entityFormSubmit(&$entity_form, &$form_state) {
  parent::entityFormSubmit($entity_form, $form_state);
  $entity = $entity_form['#entity'];
  $entity->content_text_format = $entity->content['format'];
  $entity->content = $entity->content['value'];
}