You are here

WebformExporterManagerInterface.php in Webform 6.x

Same filename and directory in other branches
  1. 8.5 src/Plugin/WebformExporterManagerInterface.php

File

src/Plugin/WebformExporterManagerInterface.php
View source
<?php

namespace Drupal\webform\Plugin;

use Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface;
use Drupal\Component\Plugin\PluginManagerInterface;
use Drupal\Component\Plugin\FallbackPluginManagerInterface;
use Drupal\Component\Plugin\CategorizingPluginManagerInterface;

/**
 * Collects available results exporters.
 */
interface WebformExporterManagerInterface extends PluginManagerInterface, CachedDiscoveryInterface, FallbackPluginManagerInterface, CategorizingPluginManagerInterface, WebformPluginManagerExcludedInterface {

  /**
   * Get all available webform element plugin instances.
   *
   * @param array $configuration
   *   Export configuration (aka export options).
   *
   * @return \Drupal\webform\Plugin\WebformExporterInterface[]
   *   An array of all available webform exporter plugin instances.
   */
  public function getInstances(array $configuration = []);

  /**
   * Get exporter plugins as options.
   *
   * @return array
   *   An associative array of options keyed by plugin id.
   */
  public function getOptions();

}

Interfaces

Namesort descending Description
WebformExporterManagerInterface Collects available results exporters.