You are here

public function BlockTranslation::prepareRow in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/block/src/Plugin/migrate/source/d6/BlockTranslation.php \Drupal\block\Plugin\migrate\source\d6\BlockTranslation::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 Block::prepareRow

File

core/modules/block/src/Plugin/migrate/source/d6/BlockTranslation.php, line 54

Class

BlockTranslation
Gets i18n block data from source database.

Namespace

Drupal\block\Plugin\migrate\source\d6

Code

public function prepareRow(Row $row) {
  $row
    ->setSourceProperty('default_theme', $this->defaultTheme);
  return SourcePluginBase::prepareRow($row);
}