Esempio n. 1
0
 /**
  * Override of edit_form_submit().
  * Don't copy values from $form_state['values'].
  */
 function edit_form_submit(&$form, &$form_state)
 {
     if (!empty($this->plugin['form']['submit'])) {
         $this->plugin['form']['submit']($form, $form_state);
     }
     context_invalidate_cache();
 }
 function list_form(&$form, &$form_state)
 {
     parent::list_form($form, $form_state);
     $form['top row']['submit'] = $form['bottom row']['submit'];
     $form['top row']['reset'] = $form['bottom row']['reset'];
     $form['bottom row']['#access'] = FALSE;
     // Invalidate the context cache.
     context_invalidate_cache();
     return;
 }