public function Config::prepareRow in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/src/Plugin/migrate/source/d8/Config.php \Drupal\migrate_drupal\Plugin\migrate\source\d8\Config::prepareRow()
Adds additional data to the row.
Parameters
\Drupal\migrate\Row $row: The row object.
Return value
bool FALSE if this row needs to be skipped.
Overrides SourcePluginBase::prepareRow
File
- core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ d8/ Config.php, line 74
Class
- Config
- Drupal 8+ configuration source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\source\d8Code
public function prepareRow(Row $row) {
$row
->setSourceProperty('data', unserialize($row
->getSourceProperty('data')));
return parent::prepareRow($row);
}