public function VariableMultiRow::prepareRow in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php \Drupal\migrate_drupal\Plugin\migrate\source\VariableMultiRow::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
1 call to VariableMultiRow::prepareRow()
- Color::prepareRow in core/modules/ color/ src/ Plugin/ migrate/ source/ d7/ Color.php 
- Adds additional data to the row.
1 method overrides VariableMultiRow::prepareRow()
- Color::prepareRow in core/modules/ color/ src/ Plugin/ migrate/ source/ d7/ Color.php 
- Adds additional data to the row.
File
- core/modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ VariableMultiRow.php, line 43 
Class
- VariableMultiRow
- Multiple variables source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\sourceCode
public function prepareRow(Row $row) {
  if ($value = $row
    ->getSourceProperty('value')) {
    $row
      ->setSourceProperty('value', unserialize($value));
  }
  return parent::prepareRow($row);
}