ConfigurableImageEffectBase.php 753 B

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