protected function SearchPage::values in Drupal 10
Same name in this branch
- 10 core/modules/search/src/Plugin/migrate/source/d6/SearchPage.php \Drupal\search\Plugin\migrate\source\d6\SearchPage::values()
- 10 core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php \Drupal\search\Plugin\migrate\source\d7\SearchPage::values()
Same name and namespace in other branches
- 8 core/modules/search/src/Plugin/migrate/source/d6/SearchPage.php \Drupal\search\Plugin\migrate\source\d6\SearchPage::values()
- 9 core/modules/search/src/Plugin/migrate/source/d6/SearchPage.php \Drupal\search\Plugin\migrate\source\d6\SearchPage::values()
Return the values of the variables specified in the plugin configuration.
Return value
array An associative array where the keys are the variables specified in the plugin configuration and the values are the values found in the source. Only those values are returned that are actually in the database.
Overrides Variable::values
File
- core/
modules/ search/ src/ Plugin/ migrate/ source/ d6/ SearchPage.php, line 26
Class
- SearchPage
- Drupal 6 node search rankings for core modules source from database.
Namespace
Drupal\search\Plugin\migrate\source\d6Code
protected function values() {
// Add a module key to identify the source search provider, node. This value
// is used in the EntitySearchPage destination plugin.
return array_merge([
'module' => 'node',
], parent::values());
}