You are here

public function Extension::prepareRow in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/src/Plugin/migrate/source/Extension.php \Drupal\system\Plugin\migrate\source\Extension::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/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);
}