Form submission handler.
array $form: An associative array containing the structure of the form.
array $form_state: An associative array containing the current state of the form.
Overrides FormInterface::submitForm
public function submitForm(array &$form, array &$form_state) {
$this->action
->delete();
watchdog('user', 'Deleted action %aid (%action)', array(
'%aid' => $this->action
->id(),
'%action' => $this->action
->label(),
));
drupal_set_message(t('Action %action was deleted', array(
'%action' => $this->action
->label(),
)));
$form_state['redirect'] = 'admin/config/system/actions';
}