interface PluginOperationsProviderInterface in Plugin 8.2
Defines a plugin operations provider.
Classes may also implement any of the following interfaces:
- \Drupal\Core\DependencyInjection\ContainerInjectionInterface: implementing this interface requires classes to be instantiated through \Drupal\Core\DependencyInjection\ClassResolverInterface::getInstanceFromDefinition().
Hierarchy
- interface \Drupal\plugin\PluginOperationsProviderInterface
Expanded class hierarchy of PluginOperationsProviderInterface
All classes that implement PluginOperationsProviderInterface
2 files declare their use of PluginOperationsProviderInterface
- ArrayPluginDefinitionDecoratorTest.php in tests/
src/ Unit/ PluginDefinition/ ArrayPluginDefinitionDecoratorTest.php - ListPluginsTest.php in tests/
src/ Unit/ Controller/ ListPluginsTest.php
File
- src/
PluginOperationsProviderInterface.php, line 13
Namespace
Drupal\pluginView source
interface PluginOperationsProviderInterface {
/**
* Gets plugin operations.
*
* @param string $plugin_id
* The ID of the plugin the operations are for.
*
* @return array[]
* An array with the same structure as
* \Drupal\Core\Entity\EntityListBuilderInterface::getOperations()' return
* value.
*/
public function getOperations($plugin_id);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginOperationsProviderInterface:: |
public | function | Gets plugin operations. |