You are here

protected function Dom::defaultValues in Migrate Plus 8.5

Same name and namespace in other branches
  1. 8.4 src/Plugin/migrate/process/Dom.php \Drupal\migrate_plus\Plugin\migrate\process\Dom::defaultValues()

Supply default values of all optional parameters.

Return value

array An array with keys the optional parameters and values the corresponding defaults.

1 call to Dom::defaultValues()
Dom::__construct in src/Plugin/migrate/process/Dom.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

File

src/Plugin/migrate/process/Dom.php, line 113

Class

Dom
Handles string to DOM and back conversions.

Namespace

Drupal\migrate_plus\Plugin\migrate\process

Code

protected function defaultValues() {
  return [
    'non_root' => TRUE,
    'log_messages' => TRUE,
    'version' => '1.0',
    'encoding' => 'UTF-8',
  ];
}