You are here

class MultifieldToParagraphs in Media Migration 8

Multifield → Paragraphs Media WYSIWYG plugin.

Plugin annotation


@MediaWysiwyg(
  id = "multifield_to_paragraphs",
  label = @Translation("Multifield to Paragraphs"),
  entity_type_map = {
    "multifield" = "paragraph",
  },
  provider = "paragraphs"
)

Hierarchy

Expanded class hierarchy of MultifieldToParagraphs

See also

https://drupal.org/i/2977853

\Drupal\media_migration\MediaWysiwygInterface

File

src/Plugin/MediaWysiwyg/MultifieldToParagraphs.php, line 22

Namespace

Drupal\media_migration\Plugin\MediaWysiwyg
View source
class MultifieldToParagraphs extends MediaWysiwygPluginBase {

}

Members

Namesort descending Modifiers Type Description Overrides
MediaWysiwygPluginBase::appendProcessor protected function Appends the media wysiwyg migrate processor to a field.
MediaWysiwygPluginBase::label public function Returns the translated plugin label. Overrides MediaWysiwygInterface::label
MediaWysiwygPluginBase::process public function Processes the migrations affected by the given field instance row. Overrides MediaWysiwygInterface::process
MediaWysiwygPluginBase::__construct public function Constructs a \Drupal\Component\Plugin\PluginBase object. Overrides PluginBase::__construct
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 3
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.