plugin-8.x-2.8/src/PluginOperationsProviderInterface.php

src/PluginOperationsProviderInterface.php
<?php

namespace Drupal\plugin;

/**
 * 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().
 */
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);

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc