You are here

public function SearchPage::prepareRow in Drupal 8

Same name and namespace in other branches
  1. 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 77

Class

SearchPage
Get search_active_modules and rankings for core modules.

Namespace

Drupal\search\Plugin\migrate\source\d7

Code

public function prepareRow(Row $row) {
  $exists = $this
    ->moduleExists($row
    ->getSourceProperty('module'));
  $row
    ->setSourceProperty('module_exists', $exists);
  return parent::prepareRow($row);
}