You are here

public function DataParserPluginBase::__construct in Migrate Plus 8.4

Same name and namespace in other branches
  1. 8.5 src/DataParserPluginBase.php \Drupal\migrate_plus\DataParserPluginBase::__construct()
  2. 8 src/DataParserPluginBase.php \Drupal\migrate_plus\DataParserPluginBase::__construct()
  3. 8.2 src/DataParserPluginBase.php \Drupal\migrate_plus\DataParserPluginBase::__construct()
  4. 8.3 src/DataParserPluginBase.php \Drupal\migrate_plus\DataParserPluginBase::__construct()

Constructs a \Drupal\Component\Plugin\PluginBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

3 calls to DataParserPluginBase::__construct()
SimpleXml::__construct in src/Plugin/migrate_plus/data_parser/SimpleXml.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
Soap::__construct in src/Plugin/migrate_plus/data_parser/Soap.php
Xml::__construct in src/Plugin/migrate_plus/data_parser/Xml.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
3 methods override DataParserPluginBase::__construct()
SimpleXml::__construct in src/Plugin/migrate_plus/data_parser/SimpleXml.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
Soap::__construct in src/Plugin/migrate_plus/data_parser/Soap.php
Xml::__construct in src/Plugin/migrate_plus/data_parser/Xml.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

File

src/DataParserPluginBase.php, line 63

Class

DataParserPluginBase
Defines a base data parser implementation.

Namespace

Drupal\migrate_plus

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->urls = $configuration['urls'];
  $this->itemSelector = $configuration['item_selector'];
}