You are here

public function ImageEffectBase::defaultConfiguration in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

1 call to ImageEffectBase::defaultConfiguration()
ImageEffectBase::setConfiguration in core/modules/image/src/ImageEffectBase.php
Sets the configuration for this plugin instance.
4 methods override ImageEffectBase::defaultConfiguration()
AjaxTestImageEffect::defaultConfiguration in core/modules/image/tests/modules/image_module_test/src/Plugin/ImageEffect/AjaxTestImageEffect.php
Gets default configuration for this plugin.
ConvertImageEffect::defaultConfiguration in core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php
Gets default configuration for this plugin.
ResizeImageEffect::defaultConfiguration in core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php
Gets default configuration for this plugin.
RotateImageEffect::defaultConfiguration in core/modules/image/src/Plugin/ImageEffect/RotateImageEffect.php
Gets default configuration for this plugin.

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 [];
}