You are here

private function WrapperTarget::getMapper in Feeds Paragraphs 8

Gets the mapper object.

Return value

Mapper

3 calls to WrapperTarget::getMapper()
WrapperTarget::createTargetInstance in src/Feeds/Target/WrapperTarget.php
WrapperTarget::defaultConfiguration in src/Feeds/Target/WrapperTarget.php
Gets default configuration for this plugin.
WrapperTarget::getSummary in src/Feeds/Target/WrapperTarget.php
Returns the summary for a target.

File

src/Feeds/Target/WrapperTarget.php, line 313

Class

WrapperTarget
Defines a wrapper target around a paragraph bundle's target field.

Namespace

Drupal\feeds_para_mapper\Feeds\Target

Code

private function getMapper() {
  if (isset($this->mapper)) {
    return $this->mapper;
  }
  return \Drupal::service('feeds_para_mapper.mapper');
}