You are here

public function AjaxTestImageEffect::defaultConfiguration in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/image/tests/modules/image_module_test/src/Plugin/ImageEffect/AjaxTestImageEffect.php \Drupal\image_module_test\Plugin\ImageEffect\AjaxTestImageEffect::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ImageEffectBase::defaultConfiguration

File

core/modules/image/tests/modules/image_module_test/src/Plugin/ImageEffect/AjaxTestImageEffect.php, line 24

Class

AjaxTestImageEffect
Provides a test effect using Ajax in the configuration form.

Namespace

Drupal\image_module_test\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'test_parameter' => 0,
  ];
}