function BlockTranslation::prepareRow
Same name in other branches
- 8.9.x core/modules/block/src/Plugin/migrate/source/d6/BlockTranslation.php \Drupal\block\Plugin\migrate\source\d6\BlockTranslation::prepareRow()
- 10 core/modules/block/src/Plugin/migrate/source/d6/BlockTranslation.php \Drupal\block\Plugin\migrate\source\d6\BlockTranslation::prepareRow()
- 11.x core/modules/block/src/Plugin/migrate/source/d6/BlockTranslation.php \Drupal\block\Plugin\migrate\source\d6\BlockTranslation::prepareRow()
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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.