*
* Place your custom PHP code in this file.
*/
+
+/**
+ * Implements hook_theme().
+ *
+ * Used to show image thumbnails in search results
+ *
+ */
+function ryf_theme($existing, $type, $theme, $path) {
+ return [
+ 'search_result' => [
+ 'variables' => ['result' => NULL, 'plugin_id' => NULL],
+ 'file' => 'search.pages.inc',
+ ],
+ ];
+}
+