function SearchPage::fields

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

Overrides Variable::fields

File

core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php, line 58

Class

SearchPage
Drupal 7 search active core modules and rankings source from database.

Namespace

Drupal\search\Plugin\migrate\source\d7

Code

public function fields() {
    return [
        'module' => $this->t('The module providing a search page.'),
        'status' => $this->t('Whether or not this module is enabled for search.'),
    ];
}

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