Commit | Line | Data |
---|---|---|
1e7a45c4 VSB |
1 | <?php |
2 | ||
3 | /** | |
4 | * @file | |
5 | * Bootstrap sub-theme. | |
6 | * | |
7 | * Place your custom PHP code in this file. | |
8 | */ | |
360cec85 AE |
9 | |
10 | /** | |
11 | * Implements hook_theme(). | |
12 | * | |
13 | * Used to show image thumbnails in search results | |
14 | * | |
15 | */ | |
16 | function ryf_theme($existing, $type, $theme, $path) { | |
17 | return [ | |
18 | 'search_result' => [ | |
19 | 'variables' => ['result' => NULL, 'plugin_id' => NULL], | |
20 | 'file' => 'search.pages.inc', | |
21 | ], | |
22 | ]; | |
23 | } | |
24 |