function SearchPage::prepareRow
Same name in other branches
- 9 core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php \Drupal\search\Plugin\migrate\source\d7\SearchPage::prepareRow()
- 10 core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php \Drupal\search\Plugin\migrate\source\d7\SearchPage::prepareRow()
- 11.x core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php \Drupal\search\Plugin\migrate\source\d7\SearchPage::prepareRow()
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\d7Code
public function prepareRow(Row $row) {
$exists = $this->moduleExists($row->getSourceProperty('module'));
$row->setSourceProperty('module_exists', $exists);
return parent::prepareRow($row);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.