You are here

interface PluginTypeOperationsProviderInterface in Plugin 8.2

Defines a plugin type operations provider.

Classes may also implement any of the following interfaces:

Hierarchy

Expanded class hierarchy of PluginTypeOperationsProviderInterface

All classes that implement PluginTypeOperationsProviderInterface

File

src/PluginType/PluginTypeOperationsProviderInterface.php, line 11

Namespace

Drupal\plugin\PluginType
View source
interface PluginTypeOperationsProviderInterface {

  /**
   * Gets plugin operations.
   *
   * @param string $plugin_type_id
   *   The ID of the plugin type the operations are for.
   *
   * @return array[]
   *   An array with the same structure as
   *   \Drupal\Core\Entity\EntityListBuilderInterface::getOperations()' return
   *   value.
   */
  public function getOperations($plugin_type_id);

}

Members