function Extension::prepareRow

Same name and namespace in other branches
  1. 8.9.x core/modules/system/src/Plugin/migrate/source/Extension.php \Drupal\system\Plugin\migrate\source\Extension::prepareRow()
  2. 10 core/modules/system/src/Plugin/migrate/source/Extension.php \Drupal\system\Plugin\migrate\source\Extension::prepareRow()
  3. 11.x core/modules/system/src/Plugin/migrate/source/Extension.php \Drupal\system\Plugin\migrate\source\Extension::prepareRow()

Overrides SourcePluginBase::prepareRow

File

core/modules/system/src/Plugin/migrate/source/Extension.php, line 74

Class

Extension
Drupal 6/7 system data for a legacy extension source from database.

Namespace

Drupal\system\Plugin\migrate\source

Code

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

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