Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
SearchController::setAsDefault function core/modules/search/src/Controller/SearchController.php Sets the search page as the default.
SearchController::view function core/modules/search/src/Controller/SearchController.php Creates a render array for the search page.
SearchController::__construct function core/modules/search/src/Controller/SearchController.php Constructs a new search controller.
SearchDateIntervalTest class core/modules/search/tests/src/Functional/SearchDateIntervalTest.php Tests searching with date filters that exclude some translations.
SearchDateIntervalTest.php file core/modules/search/tests/src/Functional/SearchDateIntervalTest.php
SearchDateIntervalTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchDateIntervalTest.php The theme to install as the default for testing.
SearchDateIntervalTest::$modules property core/modules/search/tests/src/Functional/SearchDateIntervalTest.php Modules to enable.
SearchDateIntervalTest::setUp function core/modules/search/tests/src/Functional/SearchDateIntervalTest.php
SearchDateIntervalTest::testDateIntervalQueryAlter function core/modules/search/tests/src/Functional/SearchDateIntervalTest.php Tests searching with date filters that exclude some translations.
SearchDeprecationTest class core/modules/search/tests/src/Kernel/SearchDeprecationTest.php Tests deprecated search methods.
SearchDeprecationTest.php file core/modules/search/tests/src/Kernel/SearchDeprecationTest.php
SearchDeprecationTest::$modules property core/modules/search/tests/src/Kernel/SearchDeprecationTest.php Modules to enable.
SearchDeprecationTest::setUp function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php
SearchDeprecationTest::testClear function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_index_clear() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use \Drupal\search\SearchIndex::clear() instead. See https://www.drupal.org/node/3075696
SearchDeprecationTest::testDirty function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_dirty() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use custom implementation of \Drupal\search\SearchIndexInterface instead. See https://www.drupal.org/node/3075696
SearchDeprecationTest::testIndex function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_index() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use \Drupal\search\SearchIndex::index() instead. See https://www.drupal.org/node/3075696
SearchDeprecationTest::testMarkForReindex function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_mark_for_reindex() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use \Drupal\search\SearchIndex::markForReindex() instead. See https://www.drupal.org/node/3075696
SearchDeprecationTest::testUpdateTotals function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_update_totals() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use custom implementation of \Drupal\search\SearchIndexInterface instead. See https://www.drupal.org/node/3075696
SearchEmbeddedForm class core/modules/search/tests/modules/search_embedded_form/src/Form/SearchEmbeddedForm.php Form controller for search_embedded_form form.
SearchEmbeddedForm.php file core/modules/search/tests/modules/search_embedded_form/src/Form/SearchEmbeddedForm.php
SearchEmbeddedForm::buildForm function core/modules/search/tests/modules/search_embedded_form/src/Form/SearchEmbeddedForm.php Form constructor.
SearchEmbeddedForm::getFormId function core/modules/search/tests/modules/search_embedded_form/src/Form/SearchEmbeddedForm.php Returns a unique string identifying the form.
SearchEmbeddedForm::submitForm function core/modules/search/tests/modules/search_embedded_form/src/Form/SearchEmbeddedForm.php Form submission handler.
SearchEmbedFormTest class core/modules/search/tests/src/Functional/SearchEmbedFormTest.php Verifies that a form embedded in search results works.
SearchEmbedFormTest.php file core/modules/search/tests/src/Functional/SearchEmbedFormTest.php
SearchEmbedFormTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchEmbedFormTest.php The theme to install as the default for testing.
SearchEmbedFormTest::$modules property core/modules/search/tests/src/Functional/SearchEmbedFormTest.php Modules to enable.
SearchEmbedFormTest::$node property core/modules/search/tests/src/Functional/SearchEmbedFormTest.php Node used for testing.
SearchEmbedFormTest::$submitCount property core/modules/search/tests/src/Functional/SearchEmbedFormTest.php Count of how many times the form has been submitted.
SearchEmbedFormTest::setUp function core/modules/search/tests/src/Functional/SearchEmbedFormTest.php
SearchEmbedFormTest::testEmbeddedForm function core/modules/search/tests/src/Functional/SearchEmbedFormTest.php Tests that the embedded form appears and can be submitted.
SearchExactTest class core/modules/search/tests/src/Functional/SearchExactTest.php Tests that searching for a phrase gets the correct page count.
SearchExactTest.php file core/modules/search/tests/src/Functional/SearchExactTest.php
SearchExactTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchExactTest.php The theme to install as the default for testing.
SearchExactTest::$modules property core/modules/search/tests/src/Functional/SearchExactTest.php Modules to enable.
SearchExactTest::testExactQuery function core/modules/search/tests/src/Functional/SearchExactTest.php Tests that the correct number of pager links are found for both keywords and phrases.
SearchExcerptTest class core/modules/search/tests/src/Kernel/SearchExcerptTest.php Tests the search_excerpt() function.
SearchExcerptTest.php file core/modules/search/tests/src/Kernel/SearchExcerptTest.php
SearchExcerptTest::$modules property core/modules/search/tests/src/Kernel/SearchExcerptTest.php Modules to enable.
SearchExcerptTest::doSearchExcerpt function core/modules/search/tests/src/Kernel/SearchExcerptTest.php Calls search_excerpt() and renders output.
SearchExcerptTest::testSearchExcerpt function core/modules/search/tests/src/Kernel/SearchExcerptTest.php Tests search_excerpt() with several simulated search keywords.
SearchExcerptTest::testSearchExcerptSimplified function core/modules/search/tests/src/Kernel/SearchExcerptTest.php Tests search_excerpt() with search keywords matching simplified words.
SearchExtraTypeSearch class core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php Executes a dummy keyword search.
SearchExtraTypeSearch.php file core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php
SearchExtraTypeSearch::buildConfigurationForm function core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php Form constructor.
SearchExtraTypeSearch::buildResults function core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php Executes the search and builds render arrays for the result items.
SearchExtraTypeSearch::defaultConfiguration function core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php Gets default configuration for this plugin.
SearchExtraTypeSearch::execute function core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php Execute the search.
SearchExtraTypeSearch::isSearchExecutable function core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php Verifies if the given parameters are valid enough to execute a search for.
SearchExtraTypeSearch::setSearch function core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php Sets the keywords, parameters, and attributes to be used by execute().

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