Defines a ParagraphsConversion annotation object.
Paragraphs conversion handles conversion types for Paragraphs.
Expanded class hierarchy of ParagraphsConversion
class ParagraphsConversion extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable name of the paragraphs conversion plugin.
*
* @ingroup plugin_translatable
*
* @var \Drupal\Core\Annotation\Translation
*/
public $label;
/**
* The Paragraphs source type where the plugin can be applied.
*
* @var string
*/
public $source_type;
/**
* The Paragraphs target types that the Paragraph will be converted to.
*
* @var array
*/
public $target_types = [];
/**
* The plugin weight.
*
* @var int
*/
public $weight;
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ParagraphsConversion:: |
public | property | The plugin ID. | |
ParagraphsConversion:: |
public | property | The human-readable name of the paragraphs conversion plugin. | |
ParagraphsConversion:: |
public | property | The Paragraphs source type where the plugin can be applied. | |
ParagraphsConversion:: |
public | property | The Paragraphs target types that the Paragraph will be converted to. | |
ParagraphsConversion:: |
public | property | The plugin weight. |