You are here

public function FlexiformElementNodeSticky::formSubmit in Flexiform 7

Submit the form element.

Overrides FlexiformElement::formSubmit

File

includes/element/node_sticky.element.inc, line 40
Contains class for the Node sticky element.

Class

FlexiformElementNodeSticky
Class to add the node sticky field to a form.

Code

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