interface ImageEffectsFontSelectorPluginInterface in Image Effects 8
Same name and namespace in other branches
- 8.3 src/Plugin/ImageEffectsFontSelectorPluginInterface.php \Drupal\image_effects\Plugin\ImageEffectsFontSelectorPluginInterface
- 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
- interface \Drupal\Component\Plugin\ConfigurablePluginInterface; interface \Drupal\Core\Plugin\ContainerFactoryPluginInterface; interface \Drupal\Core\Plugin\PluginFormInterface
- interface \Drupal\image_effects\Plugin\ImageEffectsPluginBaseInterface
- interface \Drupal\image_effects\Plugin\ImageEffectsFontSelectorPluginInterface
- interface \Drupal\image_effects\Plugin\ImageEffectsPluginBaseInterface
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\PluginView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurablePluginInterface:: |
public | function | Gets default configuration for this plugin. | 1 |
ConfigurablePluginInterface:: |
public | function | Gets this plugin's configuration. | 1 |
ConfigurablePluginInterface:: |
public | function | Sets the configuration for this plugin instance. | 1 |
ContainerFactoryPluginInterface:: |
public static | function | Creates an instance of the plugin. | 112 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
ImageEffectsFontSelectorPluginInterface:: |
public | function | Get the description of a font file. | 1 |
ImageEffectsPluginBaseInterface:: |
public | function | Get the image_effects plugin type. | 1 |
ImageEffectsPluginBaseInterface:: |
public static | function | Determines if plugin can be used. | 1 |
ImageEffectsPluginBaseInterface:: |
public | function | Return a form element to select the plugin content. | 1 |
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
PluginFormInterface:: |
public | function | Form validation handler. | 18 |