function Config::prepareRow

Same name in other branches
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/source/d8/Config.php \Drupal\migrate_drupal\Plugin\migrate\source\d8\Config::prepareRow()
  2. 10 core/modules/migrate_drupal/src/Plugin/migrate/source/d8/Config.php \Drupal\migrate_drupal\Plugin\migrate\source\d8\Config::prepareRow()
  3. 11.x core/modules/migrate_drupal/src/Plugin/migrate/source/d8/Config.php \Drupal\migrate_drupal\Plugin\migrate\source\d8\Config::prepareRow()

Overrides SourcePluginBase::prepareRow

File

core/modules/migrate_drupal/src/Plugin/migrate/source/d8/Config.php, line 36

Class

Config
Drupal config source from database.

Namespace

Drupal\migrate_drupal\Plugin\migrate\source\d8

Code

public function prepareRow(Row $row) {
    $row->setSourceProperty('data', unserialize($row->getSourceProperty('data')));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.