1<?php 2 3namespace Drupal\image; 4 5use Drupal\Core\Form\FormStateInterface; 6 7/** 8 * Provides a base class for configurable image effects. 9 * 10 * @see \Drupal\image\Annotation\ImageEffect 11 * @see \Drupal\image\ConfigurableImageEffectInterface 12 * @see \Drupal\image\ImageEffectInterface 13 * @see \Drupal\image\ImageEffectBase 14 * @see \Drupal\image\ImageEffectManager 15 * @see plugin_api 16 */ 17abstract class ConfigurableImageEffectBase extends ImageEffectBase implements ConfigurableImageEffectInterface { 18 19 /** 20 * {@inheritdoc} 21 */ 22 public function validateConfigurationForm(array &$form, FormStateInterface $form_state) { 23 } 24 25 /** 26 * {@inheritdoc} 27 */ 28 public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { 29 } 30 31} 32