public function SearchPage::prepareRow in Drupal 10
Same name and namespace in other branches
- 8 core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php \Drupal\search\Plugin\migrate\source\d7\SearchPage::prepareRow()
- 9 core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php \Drupal\search\Plugin\migrate\source\d7\SearchPage::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/ search/ src/ Plugin/ migrate/ source/ d7/ SearchPage.php, line 83
Class
- SearchPage
- Drupal 7 search active core modules and rankings source from database.
Namespace
Drupal\search\Plugin\migrate\source\d7Code
public function prepareRow(Row $row) {
$exists = $this
->moduleExists($row
->getSourceProperty('module'));
$row
->setSourceProperty('module_exists', $exists);
return parent::prepareRow($row);
}