interface PluginOperationsProviderDefinitionInterface in Plugin 8.2
Defines a plugin definition that includes an operations provider.
Hierarchy
- interface \Drupal\Component\Plugin\Definition\PluginDefinitionInterface
- interface \Drupal\plugin\PluginDefinition\PluginDefinitionInterface
- interface \Drupal\plugin\PluginDefinition\PluginOperationsProviderDefinitionInterface
- interface \Drupal\plugin\PluginDefinition\PluginDefinitionInterface
Expanded class hierarchy of PluginOperationsProviderDefinitionInterface
All classes that implement PluginOperationsProviderDefinitionInterface
2 files declare their use of PluginOperationsProviderDefinitionInterface
- ListPlugins.php in src/
Controller/ ListPlugins.php - ListPluginsTest.php in tests/
src/ Unit/ Controller/ ListPluginsTest.php
File
- src/
PluginDefinition/ PluginOperationsProviderDefinitionInterface.php, line 10
Namespace
Drupal\plugin\PluginDefinitionView source
interface PluginOperationsProviderDefinitionInterface extends PluginDefinitionInterface {
/**
* Sets the operations provider class.
*
* @param string $class
* The fully qualified name of a class that implements
* \Drupal\plugin\PluginOperationsProviderInterface.
*
* @return $this
*
* @throws \InvalidArgumentException
*/
public function setOperationsProviderClass($class);
/**
* Gets the operations provider class.
*
* @return string|null
* The fully qualified name of a class that implements
* \Drupal\plugin\PluginOperationsProviderInterface or null.
*/
public function getOperationsProviderClass();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginDefinitionInterface:: |
public | function | Gets the class. | 1 |
PluginDefinitionInterface:: |
public | function | Gets the plugin ID. | 2 |
PluginDefinitionInterface:: |
public | function |
Gets the plugin provider. Overrides PluginDefinitionInterface:: |
2 |
PluginDefinitionInterface:: |
public | function | Gets the unique identifier of the plugin. | 1 |
PluginDefinitionInterface:: |
public | function | Merges another definition into this one, using the other for defaults. | |
PluginDefinitionInterface:: |
public | function | Merges another definition into this one, using the other for overrides. | |
PluginDefinitionInterface:: |
public | function | Sets the class. | 1 |
PluginDefinitionInterface:: |
public | function | Sets the plugin ID. | 2 |
PluginDefinitionInterface:: |
public | function | Sets the plugin provider. | 2 |
PluginOperationsProviderDefinitionInterface:: |
public | function | Gets the operations provider class. | 1 |
PluginOperationsProviderDefinitionInterface:: |
public | function | Sets the operations provider class. | 1 |