class ConfigurableImageEffectBase

Same name and namespace in other branches
  1. 11.x core/modules/image/src/ConfigurableImageEffectBase.php \Drupal\image\ConfigurableImageEffectBase
  2. 10 core/modules/image/src/ConfigurableImageEffectBase.php \Drupal\image\ConfigurableImageEffectBase
  3. 9 core/modules/image/src/ConfigurableImageEffectBase.php \Drupal\image\ConfigurableImageEffectBase

Provides a base class for configurable image effects.

Hierarchy

Expanded class hierarchy of ConfigurableImageEffectBase

See also

\Drupal\image\Annotation\ImageEffect

\Drupal\image\ConfigurableImageEffectInterface

\Drupal\image\ImageEffectInterface

\Drupal\image\ImageEffectBase

\Drupal\image\ImageEffectManager

Plugin API

4 files declare their use of ConfigurableImageEffectBase
AjaxTestImageEffect.php in core/modules/image/tests/modules/image_module_test/src/Plugin/ImageEffect/AjaxTestImageEffect.php
ConvertImageEffect.php in core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php
ResizeImageEffect.php in core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php
RotateImageEffect.php in core/modules/image/src/Plugin/ImageEffect/RotateImageEffect.php

File

core/modules/image/src/ConfigurableImageEffectBase.php, line 17

Namespace

Drupal\image
View source
abstract class ConfigurableImageEffectBase extends ImageEffectBase implements ConfigurableImageEffectInterface {
  
  /**
   * {@inheritdoc}
   */
  public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
  }
  
  /**
   * {@inheritdoc}
   */
  public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
ConfigurableImageEffectBase::submitConfigurationForm public function Form submission handler. Overrides PluginFormInterface::submitConfigurationForm
ConfigurableImageEffectBase::validateConfigurationForm public function Form validation handler. Overrides PluginFormInterface::validateConfigurationForm
DependencySerializationTrait::$_entityStorages protected property An array of entity type IDs keyed by the property name of their storages.
DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization.
DependencySerializationTrait::__sleep public function
DependencySerializationTrait::__wakeup public function
ImageEffectBase::$logger protected property A logger instance.
ImageEffectBase::$uuid protected property The image effect ID.
ImageEffectBase::$weight protected property The weight of the image effect.
ImageEffectBase::calculateDependencies public function
ImageEffectBase::create public static function
ImageEffectBase::defaultConfiguration public function
ImageEffectBase::getConfiguration public function
ImageEffectBase::getDerivativeExtension public function
ImageEffectBase::getSummary public function
ImageEffectBase::getUuid public function
ImageEffectBase::getWeight public function
ImageEffectBase::label public function
ImageEffectBase::setConfiguration public function
ImageEffectBase::setWeight public function
ImageEffectBase::transformDimensions public function
ImageEffectBase::__construct public function
ImageEffectInterface::applyEffect public function Applies an image effect to the image object.
MessengerTrait::$messenger protected property The messenger. 3
MessengerTrait::messenger public function Gets the messenger. 3
MessengerTrait::setMessenger public function Sets the messenger.
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition.
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function
PluginBase::getDerivativeId public function
PluginBase::getPluginDefinition public function 1
PluginBase::getPluginId public function
PluginBase::isConfigurable public function Determines if the plugin is configurable.
PluginFormInterface::buildConfigurationForm public function Form constructor.
StringTranslationTrait::$stringTranslation protected property The string translation service.
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use. 1
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.