You are here

interface PluginOperationsProviderInterface in Plugin 8.2

Defines a plugin operations provider.

Classes may also implement any of the following interfaces:

Hierarchy

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\plugin
View 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