protected function DomStrReplace::getSearch in Migrate Plus 8.4
Same name and namespace in other branches
- 8.5 src/Plugin/migrate/process/DomStrReplace.php \Drupal\migrate_plus\Plugin\migrate\process\DomStrReplace::getSearch()
Retrieves the right search string based on configuration.
Return value
string The value to be searched.
1 call to DomStrReplace::getSearch()
- DomStrReplace::transform in src/
Plugin/ migrate/ process/ DomStrReplace.php - Performs the associated process.
File
- src/
Plugin/ migrate/ process/ DomStrReplace.php, line 146
Class
- DomStrReplace
- String replacements on a source dom.
Namespace
Drupal\migrate_plus\Plugin\migrate\processCode
protected function getSearch() {
switch ($this->configuration['mode']) {
case 'attribute':
return $this->configuration['search'];
}
}