Test module implementing a form that can be embedded in search results.

Embedded form are important, for example, for e-commerce sites where each search result may included an embedded form with buttons like "Add to cart" for each individual product (node) listed in the search results.

File

core/modules/search/tests/search_embedded_form/search_embedded_form.module

Functions

Namesort descending Description
search_embedded_form_form Builds a form for embedding in search results for testing.
search_embedded_form_form_submit Submit handler for search_embedded_form_form().
search_embedded_form_menu Implements hook_menu().
search_embedded_form_preprocess_search_results Adds the test form to search results.