W3cubDocs

/Drupal 8

function search_theme

search_theme()

Implements hook_theme().

File

core/modules/search/search.module, line 99
Enables site-wide keyword searching.

Code

function search_theme() {
  return array(
    'search_result' => array(
      'variables' => array('result' => NULL, 'plugin_id' => NULL),
      'file' => 'search.pages.inc',
    ),
  );
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!search!search.module/function/search_theme/8.1.x