public function BlockTranslation::prepareRow in Drupal 10
Same name and namespace in other branches
- 8 core/modules/block/src/Plugin/migrate/source/d6/BlockTranslation.php \Drupal\block\Plugin\migrate\source\d6\BlockTranslation::prepareRow()
- 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 59
Class
- BlockTranslation
- Drupal 6 i18n block data from database.
Namespace
Drupal\block\Plugin\migrate\source\d6Code
public function prepareRow(Row $row) {
$row
->setSourceProperty('default_theme', $this->defaultTheme);
return SourcePluginBase::prepareRow($row);
}