protected function DataParserPluginBase::fieldSelectors in Migrate Plus 8.4
Same name and namespace in other branches
- 8.5 src/DataParserPluginBase.php \Drupal\migrate_plus\DataParserPluginBase::fieldSelectors()
- 8 src/DataParserPluginBase.php \Drupal\migrate_plus\DataParserPluginBase::fieldSelectors()
- 8.2 src/DataParserPluginBase.php \Drupal\migrate_plus\DataParserPluginBase::fieldSelectors()
- 8.3 src/DataParserPluginBase.php \Drupal\migrate_plus\DataParserPluginBase::fieldSelectors()
Return the selectors used to populate each configured field.
Return value
string[] Array of selectors, keyed by field name.
5 calls to DataParserPluginBase::fieldSelectors()
- Json::fetchNextRow in src/
Plugin/ migrate_plus/ data_parser/ Json.php - Retrieves the next row of data. populating currentItem.
- SimpleXml::fetchNextRow in src/
Plugin/ migrate_plus/ data_parser/ SimpleXml.php - Retrieves the next row of data. populating currentItem.
- Soap::fetchNextRow in src/
Plugin/ migrate_plus/ data_parser/ Soap.php - Retrieves the next row of data. populating currentItem.
- Xml::fetchNextRow in src/
Plugin/ migrate_plus/ data_parser/ Xml.php - Retrieves the next row of data. populating currentItem.
- Xml::__construct in src/
Plugin/ migrate_plus/ data_parser/ Xml.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
File
- src/
DataParserPluginBase.php, line 215
Class
- DataParserPluginBase
- Defines a base data parser implementation.
Namespace
Drupal\migrate_plusCode
protected function fieldSelectors() {
$fields = [];
foreach ($this->configuration['fields'] as $field_info) {
if (isset($field_info['selector'])) {
$fields[$field_info['name']] = $field_info['selector'];
}
}
return $fields;
}