You are here

interface ImageEffectsFontSelectorPluginInterface in Image Effects 8.3

Same name and namespace in other branches
  1. 8 src/Plugin/ImageEffectsFontSelectorPluginInterface.php \Drupal\image_effects\Plugin\ImageEffectsFontSelectorPluginInterface
  2. 8.2 src/Plugin/ImageEffectsFontSelectorPluginInterface.php \Drupal\image_effects\Plugin\ImageEffectsFontSelectorPluginInterface

Fonts handler interface.

Defines the methods that font selector plugins have to implement.

Hierarchy

Expanded class hierarchy of ImageEffectsFontSelectorPluginInterface

All classes that implement ImageEffectsFontSelectorPluginInterface

3 files declare their use of ImageEffectsFontSelectorPluginInterface
Basic.php in src/Plugin/image_effects/FontSelector/Basic.php
FontSelectionImageEffect.php in tests/modules/image_effects_module_test/src/Plugin/ImageEffect/FontSelectionImageEffect.php
TextOverlayImageEffect.php in src/Plugin/ImageEffect/TextOverlayImageEffect.php

File

src/Plugin/ImageEffectsFontSelectorPluginInterface.php, line 10

Namespace

Drupal\image_effects\Plugin
View source
interface ImageEffectsFontSelectorPluginInterface extends ImageEffectsPluginBaseInterface {

  /**
   * Get the description of a font file.
   *
   * @param string $uri
   *   The URI of the font file.
   *
   * @return string
   *   The description of the font.
   */
  public function getDescription($uri);

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigurableInterface::defaultConfiguration public function Gets default configuration for this plugin. 11
ConfigurableInterface::getConfiguration public function Gets this plugin's configuration. 12
ConfigurableInterface::setConfiguration public function Sets the configuration for this plugin instance. 12
ContainerFactoryPluginInterface::create public static function Creates an instance of the plugin. 112
ImageEffectsFontSelectorPluginInterface::getDescription public function Get the description of a font file. 1
ImageEffectsPluginBaseInterface::getType public function Get the image_effects plugin type. 1
ImageEffectsPluginBaseInterface::isAvailable public static function Determines if plugin can be used. 1
ImageEffectsPluginBaseInterface::selectionElement public function Return a form element to select the plugin content. 1
PluginFormInterface::buildConfigurationForm public function Form constructor. 36
PluginFormInterface::submitConfigurationForm public function Form submission handler. 32
PluginFormInterface::validateConfigurationForm public function Form validation handler. 18