function SearchPage::values

Same name in this branch
  1. 8.9.x core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php \Drupal\search\Plugin\migrate\source\d7\SearchPage::values()
Same name in other branches
  1. 9 core/modules/search/src/Plugin/migrate/source/d6/SearchPage.php \Drupal\search\Plugin\migrate\source\d6\SearchPage::values()
  2. 9 core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php \Drupal\search\Plugin\migrate\source\d7\SearchPage::values()
  3. 10 core/modules/search/src/Plugin/migrate/source/d6/SearchPage.php \Drupal\search\Plugin\migrate\source\d6\SearchPage::values()
  4. 10 core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php \Drupal\search\Plugin\migrate\source\d7\SearchPage::values()
  5. 11.x core/modules/search/src/Plugin/migrate/source/d6/SearchPage.php \Drupal\search\Plugin\migrate\source\d6\SearchPage::values()
  6. 11.x core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php \Drupal\search\Plugin\migrate\source\d7\SearchPage::values()

Overrides Variable::values

File

core/modules/search/src/Plugin/migrate/source/d6/SearchPage.php, line 20

Class

SearchPage
Get node search rankings for core modules.

Namespace

Drupal\search\Plugin\migrate\source\d6

Code

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());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.