You are here

class WebformContentCreatorFieldMapping in Webform Content Creator 3.x

Defines a data type of structured data.

Plugin Namespace: Plugin\WebformContentCreator\WebformContentCreatorFieldMapping.

Hierarchy

Expanded class hierarchy of WebformContentCreatorFieldMapping

See also

\Drupal\structured_data\StructuredDataManager

Plugin API

10 classes are annotated with WebformContentCreatorFieldMapping
AddressFieldMapping in src/Plugin/WebformContentCreator/FieldMapping/AddressFieldMapping.php
Provides an address field mapping.
BooleanFieldMapping in src/Plugin/WebformContentCreator/FieldMapping/BooleanFieldMapping.php
Provides a boolean field mapping.
DateTimeFieldMapping in src/Plugin/WebformContentCreator/FieldMapping/DateTimeFieldMapping.php
Provides a datetime field mapping.
DefaultFieldMapping in src/Plugin/WebformContentCreator/FieldMapping/DefaultFieldMapping.php
Provides a default field mapping.
EmailFieldMapping in src/Plugin/WebformContentCreator/FieldMapping/EmailFieldMapping.php
Provides email field mapping.

... See full list

File

src/Annotation/WebformContentCreatorFieldMapping.php, line 17

Namespace

Drupal\webform_content_creator\Annotation
View source
class WebformContentCreatorFieldMapping extends Plugin {

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

  /**
   * The label of the webform content creator field mapping.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * The plugin weight.
   *
   * @var int
   */
  public $weight;

  /**
   * An array of field types the content creator field mapping supports.
   *
   * @var array
   */
  public $field_types = [];

}

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 1
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
WebformContentCreatorFieldMapping::$field_types public property An array of field types the content creator field mapping supports.
WebformContentCreatorFieldMapping::$id public property The plugin ID.
WebformContentCreatorFieldMapping::$label public property The label of the webform content creator field mapping.
WebformContentCreatorFieldMapping::$weight public property The plugin weight.