示例#1
0
 /**
  * {@inheritdoc}
  */
 public function submitConfigurationForm(array &$form, array &$form_state)
 {
     parent::submitConfigurationForm($form, $form_state);
 }
示例#2
0
 /**
  * {@inheritdoc}
  */
 public function submitConfigurationForm(array &$form, array &$form_state)
 {
     if (!$this->jobController) {
         return;
     }
     $values =& $form_state['values']['scheduler']['configuration'];
     if ($this->configuration['import_period'] != $values['import_period']) {
         $this->importer->reschedule($this->importer->id());
     }
     // Intentionally call parent last so that we can access our old values.
     parent::submitConfigurationForm($form, $form_state);
 }
示例#3
0
 /**
  * {@inheritdoc}
  *
  * @todo We need an importer save/update/delete API.
  */
 public function submitConfigurationForm(array &$form, array &$form_state)
 {
     $this->apply(__FUNCTION__, $form, $form_state);
     $values =& $form_state['values']['processor']['configuration'];
     if ($this->configuration['expire'] != $values['expire']) {
         $this->importer->reschedule($this->importer->id());
     }
     parent::submitConfigurationForm($form, $form_state);
     $this->prepareFeedsItemField();
 }