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) {
image_effect_delete($this->imageStyle, $this->imageEffect);
drupal_set_message(t('The image effect %name has been deleted.', array(
'%name' => $this->imageEffect['label'],
)));
$form_state['redirect'] = 'admin/config/media/image-styles/manage/' . $this->imageStyle
->id();
}