feeds-8.x-3.0-alpha1/src/Plugin/Type/FeedsPluginInterface.php

src/Plugin/Type/FeedsPluginInterface.php
<?php

namespace Drupal\feeds\Plugin\Type;

use Drupal\Component\Plugin\ConfigurablePluginInterface;
use Drupal\Component\Plugin\PluginInspectionInterface;

/**
 * Interface that all Feeds plugins must implement.
 */
interface FeedsPluginInterface extends PluginInspectionInterface, ConfigurablePluginInterface {

  /**
   * Returns the type of plugin.
   *
   * @return string
   *   The type of plugin. Usually, one of 'fetcher', 'parser', or 'processor'.
   *
   * @see \Drupal\feeds\Plugin\Type\FeedsPluginManager::processDefinition()
   */
  public function pluginType();

  /**
   * Returns default feed configuration.
   *
   * @return array
   *   The default feed configuration.
   */
  public function defaultFeedConfiguration();

}

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

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