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
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\yamlform\Annotation\YamlFormExporter
Expanded class hierarchy of YamlFormExporter
See also
hook_yamlform_exporter_info_alter()
\Drupal\yamlform\YamlFormExporterInterface
\Drupal\yamlform\YamlFormExporterBase
\Drupal\yamlform\YamlFormExporterManager
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\AnnotationView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |
YamlFormExporter:: |
public | property | Generates zipped archive. | |
YamlFormExporter:: |
public | property | The category in the admin UI where the block will be listed. | |
YamlFormExporter:: |
public | property | A brief description of the results exporter. | |
YamlFormExporter:: |
public | property | The plugin ID. | |
YamlFormExporter:: |
public | property | The human-readable name of the results exporter. | |
YamlFormExporter:: |
public | property | Using export options. |