You are here

public function FontSelectionImageEffect::defaultConfiguration in Image Effects 8

Same name and namespace in other branches
  1. 8.3 tests/modules/image_effects_module_test/src/Plugin/ImageEffect/FontSelectionImageEffect.php \Drupal\image_effects_module_test\Plugin\ImageEffect\FontSelectionImageEffect::defaultConfiguration()
  2. 8.2 tests/modules/image_effects_module_test/src/Plugin/ImageEffect/FontSelectionImageEffect.php \Drupal\image_effects_module_test\Plugin\ImageEffect\FontSelectionImageEffect::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ImageEffectBase::defaultConfiguration

File

tests/modules/image_effects_module_test/src/Plugin/ImageEffect/FontSelectionImageEffect.php, line 54

Class

FontSelectionImageEffect
Image effect that relies on a font URI selected via the font selector plugin.

Namespace

Drupal\image_effects_module_test\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'font_name' => '',
    'font_uri' => '',
  ];
}