interface EntityPrintPluginManagerInterface in Entity Print 8.2
Print plugin manager interface.
Hierarchy
- interface \Drupal\Component\Plugin\Discovery\DiscoveryInterface; interface \Drupal\Component\Plugin\Factory\FactoryInterface; interface \Drupal\Component\Plugin\Mapper\MapperInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
- interface \Drupal\entity_print\Plugin\EntityPrintPluginManagerInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
Expanded class hierarchy of EntityPrintPluginManagerInterface
All classes that implement EntityPrintPluginManagerInterface
3 files declare their use of EntityPrintPluginManagerInterface
- EntityPrintController.php in src/
Controller/ EntityPrintController.php - SettingsForm.php in src/
Form/ SettingsForm.php - ViewPrintController.php in modules/
entity_print_views/ src/ Controller/ ViewPrintController.php
File
- src/
Plugin/ EntityPrintPluginManagerInterface.php, line 10
Namespace
Drupal\entity_print\PluginView source
interface EntityPrintPluginManagerInterface extends PluginManagerInterface {
/**
* Gets currently selected plugin for this export type.
*
* @param string $export_type
* The export type plugin id.
*
* @return \Drupal\entity_print\Plugin\PrintEngineInterface
* The loaded print engine.
*/
public function createSelectedInstance($export_type);
/**
* Checks if a plugin is enabled based on its dependencies.
*
* @param string $plugin_id
* The plugin id to check.
*
* @return bool
* TRUE if the plugin is disabled otherwise FALSE.
*/
public function isPrintEngineEnabled($plugin_id);
/**
* Gets all disabled print engine definitions.
*
* @param string $filter_export_type
* The export type you want to filter by.
*
* @return array
* An array of disabled print engine definitions.
*/
public function getDisabledDefinitions($filter_export_type);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiscoveryInterface:: |
public | function | Gets a specific plugin definition. | 4 |
DiscoveryInterface:: |
public | function | Gets the definition of all plugins for this type. | 3 |
DiscoveryInterface:: |
public | function | Indicates if a specific plugin definition exists. | 2 |
EntityPrintPluginManagerInterface:: |
public | function | Gets currently selected plugin for this export type. | 1 |
EntityPrintPluginManagerInterface:: |
public | function | Gets all disabled print engine definitions. | 1 |
EntityPrintPluginManagerInterface:: |
public | function | Checks if a plugin is enabled based on its dependencies. | 1 |
FactoryInterface:: |
public | function | Creates a pre-configured instance of a plugin. | 7 |
MapperInterface:: |
public | function | Gets a preconfigured instance of a plugin. | 4 |