interface MgvPluginManagerInterface in More Global Variables 8
Interface MgvPluginManagerInterface.
@package Drupal\mgv
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\mgv\MgvPluginManagerInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
Expanded class hierarchy of MgvPluginManagerInterface
All classes that implement MgvPluginManagerInterface
File
- src/
MgvPluginManagerInterface.php, line 13
Namespace
Drupal\mgvView source
interface MgvPluginManagerInterface extends PluginManagerInterface {
/**
* Returns all the variables.
*
* @return array[mixed]
* Variables list.
*/
public function getVariables();
/**
* Create namespaced value of given global variable id and instance.
*
* @param string $plugin_id
* Plugin id.
* @param \Drupal\mgv\Plugin\GlobalVariableInterface $variable
* Plugin instance.
*
* @return array|mixed
* Generated value.
*/
public function getNamespacedValue($plugin_id, GlobalVariableInterface $variable);
}
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 |
FactoryInterface:: |
public | function | Creates a pre-configured instance of a plugin. | 7 |
MapperInterface:: |
public | function | Gets a preconfigured instance of a plugin. | 4 |
MgvPluginManagerInterface:: |
public | function | Create namespaced value of given global variable id and instance. | 1 |
MgvPluginManagerInterface:: |
public | function | Returns all the variables. | 1 |