You are here

public function PartyActivityElementTitle::formSubmit in Party 7

Submit the form element.

Overrides FlexiformElement::formSubmit

File

modules/party_activity/includes/element/party_activity_title.element.inc, line 51
Contains class for the Node title element.

Class

PartyActivityElementTitle
Class to add the node title field to a form.

Code

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