ImageEffectBase::getSummary

public ImageEffectBase::getSummary() Returns a render array summarizing the configuration of the image effect. Return value array A render array. Overrides ImageEffectInterface::getSummary File core/modules/image/src/ImageEffectBase.php, line 87 Class ImageEffectBase Provides a base class for image effects. Namespace Drupal\image Code public function getSummary() { return array( '#markup' => '', '#effect' => array( 'id' => $this->pluginDefinition['id'],

ImageEffectBase::getDerivativeExtension

public ImageEffectBase::getDerivativeExtension($extension) Returns the extension the derivative would have have after applying this image effect. Parameters string $extension: The file extension the derivative has before applying. Return value string The file extension after applying. Overrides ImageEffectInterface::getDerivativeExtension File core/modules/image/src/ImageEffectBase.php, line 77 Class ImageEffectBase Provides a base class for image effects. Namespace Drupal\image Code

ImageEffectBase::getConfiguration

public ImageEffectBase::getConfiguration() Gets this plugin's configuration. Return value array An array of this plugin's configuration. Overrides ConfigurablePluginInterface::getConfiguration File core/modules/image/src/ImageEffectBase.php, line 130 Class ImageEffectBase Provides a base class for image effects. Namespace Drupal\image Code public function getConfiguration() { return array( 'uuid' => $this->getUuid(), 'id' => $this->getPluginId(), 'weight' =&g

ImageEffectBase::defaultConfiguration

public ImageEffectBase::defaultConfiguration() Gets default configuration for this plugin. Return value array An associative array with the default configuration. Overrides ConfigurablePluginInterface::defaultConfiguration File core/modules/image/src/ImageEffectBase.php, line 157 Class ImageEffectBase Provides a base class for image effects. Namespace Drupal\image Code public function defaultConfiguration() { return array(); }

ImageEffectBase::create

public static ImageEffectBase::create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) Creates an instance of the plugin. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The container to pull out services used in the plugin. array $configuration: A configuration array containing information about the plugin instance. string $plugin_id: The plugin ID for the plugin instance. mixed $plugin_definition: The plugin implementation

ImageEffectBase::calculateDependencies

public ImageEffectBase::calculateDependencies() Calculates dependencies for the configured plugin. Dependencies are saved in the plugin's configuration entity and are used to determine configuration synchronization order. For example, if the plugin integrates with specific user roles, this method should return an array of dependencies listing the specified roles. Return value array An array of dependencies grouped by type (config, content, module, theme). For example: array( 'config' =&g

ImageEffectBase::$weight

The weight of the image effect. Type: int|string File core/modules/image/src/ImageEffectBase.php, line 34 Class ImageEffectBase Provides a base class for image effects. Namespace Drupal\image Code protected $weight = '';

ImageEffectBase::$uuid

The image effect ID. Type: string File core/modules/image/src/ImageEffectBase.php, line 27 Class ImageEffectBase Provides a base class for image effects. Namespace Drupal\image Code protected $uuid;

ImageEffectBase::$logger

A logger instance. Type: \Psr\Log\LoggerInterface File core/modules/image/src/ImageEffectBase.php, line 41 Class ImageEffectBase Provides a base class for image effects. Namespace Drupal\image Code protected $logger;

ImageEffectBase

Provides a base class for image effects. Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\image\ImageEffectBase implements ContainerFactoryPluginInterface, ImageEffectInterface See also \Drupal\image\Annotation\ImageEffect \Drupal\image\ImageEffectInterface \Drupal\image\ConfigurableImageEffectInterface \Drupal\im