visualn-8.x-1.x-dev/src/Core/DrawingFetcherInterface.php

src/Core/DrawingFetcherInterface.php
<?php

namespace Drupal\visualn\Core;

// @todo: need to also implement ContextAwarePluginInterface ?
//   or extending ContextAwarePluginBase is enough ?
use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Component\Plugin\ConfigurablePluginInterface;
use Drupal\Core\Plugin\PluginFormInterface;
use Drupal\visualn\WindowParametersInterface;

/**
 * Defines an interface for VisualN Drawing Fetcher plugins.
 */
// @todo: there may be configurable fetcher plugins and not configurable, which don't need PluginFormInterface
//    as for DrawerModifier plugins
interface DrawingFetcherInterface extends PluginInspectionInterface, ConfigurablePluginInterface, PluginFormInterface, WindowParametersInterface {

  /**
   * Fetch drawing markup.
   */
  public function fetchDrawing();

}

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

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