You are here

public function FlexiformElementNodeStatus::formSubmit in Flexiform 7

Submit the form element.

Overrides FlexiformElement::formSubmit

File

includes/element/node_status.element.inc, line 40
Contains class for the Node status element.

Class

FlexiformElementNodeStatus
Class to add the node status field to a form.

Code

public function formSubmit($form, &$form_state, $entity, $language = LANGUAGE_NONE) {
  $entity->status = $this
    ->formExtractValues($form, $form_state, $entity);
}