public function AjaxTestImageEffect::defaultConfiguration in Drupal 8
Same name and namespace in other branches
- 9 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\ImageEffectCode
public function defaultConfiguration() {
return [
'test_parameter' => 0,
];
}