You are here

class YamlFormExporter in YAML Form 8

Defines a results exporter annotation object.

Plugin Namespace: Plugin\YamlFormExporter.

For a working example, see \Drupal\yamlform\Plugin\YamlFormExporter\DelimitedText/YamlFormExporter

Hierarchy

Expanded class hierarchy of YamlFormExporter

See also

hook_yamlform_exporter_info_alter()

\Drupal\yamlform\YamlFormExporterInterface

\Drupal\yamlform\YamlFormExporterBase

\Drupal\yamlform\YamlFormExporterManager

Plugin API

4 classes are annotated with YamlFormExporter
DelimitedYamlFormExporter in src/Plugin/YamlFormExporter/DelimitedYamlFormExporter.php
Defines a delimited text exporter.
JsonYamlFormExporter in src/Plugin/YamlFormExporter/JsonYamlFormExporter.php
Defines a JSON document exporter.
TableYamlFormExporter in src/Plugin/YamlFormExporter/TableYamlFormExporter.php
Defines a HTML table exporter.
YamlYamlFormExporter in src/Plugin/YamlFormExporter/YamlYamlFormExporter.php
Defines a YAML document exporter.

File

src/Annotation/YamlFormExporter.php, line 23

Namespace

Drupal\yamlform\Annotation
View source
class YamlFormExporter extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The human-readable name of the results exporter.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * The category in the admin UI where the block will be listed.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $category = '';

  /**
   * A brief description of the results exporter.
   *
   * This will be shown when adding or configuring this results exporter.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description = '';

  /**
   * Generates zipped archive.
   *
   * @var bool
   */
  public $archive = FALSE;

  /**
   * Using export options.
   *
   * @var bool
   */
  public $options = TRUE;

}

Members

Namesort descending Modifiers Type Description Overrides
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2
YamlFormExporter::$archive public property Generates zipped archive.
YamlFormExporter::$category public property The category in the admin UI where the block will be listed.
YamlFormExporter::$description public property A brief description of the results exporter.
YamlFormExporter::$id public property The plugin ID.
YamlFormExporter::$label public property The human-readable name of the results exporter.
YamlFormExporter::$options public property Using export options.