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. 8.9.x 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 75

Class

Config
Drupal 8+ configuration source from database.

Namespace

Drupal\migrate_drupal\Plugin\migrate\source\d8

Code

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

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