Search result
Last updated on
31 May 2023
Properties:
- Type (
typestring). Common for all elements and defines the type of element. - Settings (
settingsarray). 1a. Field (fieldstring). Required. The index field name that contains rendered search result to display 1b. No results message (no_results), optional. Text to display when there are no results. 1c. Loading message (loading), optional. Text to display while the results are loading. - Weight (
weightinteger). The order of the element inside region.
Example object representation:
{
"id": "84297c51-5482-4b88-9730-26b1868c00cd",
"type": "search_result",
"weight": "-6",
"settings": {
"field": "rendered_result",
"no_results": "No results found.",
"loading": "Loading..."
}
}
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion
Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.