class Paragraphs in Media Migration 8
Field collection and paragraphs Media WYSIWYG plugin.
This plugin targets field collection and paragraph content entity types. For being discovered by the Media WYSIWYG plugin manager, the Paragraphs module should be installed on the destination site.
Plugin annotation
@MediaWysiwyg(
id = "paragraphs",
label = @Translation("Paragraphs"),
entity_type_map = {
"field_collection_item" = "paragraph",
"paragraphs_item" = "paragraph",
},
provider = "paragraphs"
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\media_migration\MediaWysiwygPluginBase implements MediaWysiwygInterface
- class \Drupal\media_migration\Plugin\MediaWysiwyg\Paragraphs
- class \Drupal\media_migration\MediaWysiwygPluginBase implements MediaWysiwygInterface
Expanded class hierarchy of Paragraphs
See also
\Drupal\media_migration\MediaWysiwygInterface
1 file declares its use of Paragraphs
File
- src/
Plugin/ MediaWysiwyg/ Paragraphs.php, line 26
Namespace
Drupal\media_migration\Plugin\MediaWysiwygView source
class Paragraphs extends MediaWysiwygPluginBase {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MediaWysiwygPluginBase:: |
protected | function | Appends the media wysiwyg migrate processor to a field. | |
MediaWysiwygPluginBase:: |
public | function |
Returns the translated plugin label. Overrides MediaWysiwygInterface:: |
|
MediaWysiwygPluginBase:: |
public | function |
Processes the migrations affected by the given field instance row. Overrides MediaWysiwygInterface:: |
|
MediaWysiwygPluginBase:: |
public | function |
Constructs a \Drupal\Component\Plugin\PluginBase object. Overrides PluginBase:: |
|
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
3 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. |