shrink main logo on smaller displays (xs)
[ryf-theme.git] / search.pages.inc
1 <?php
2
3
4 /* implements template_preprocess_search_result */
5
6 function ryf_preprocess_search_result (&$variables) {
7
8         //debug(unserialize(serialize($variables)));
9         //debug(unserialize(serialize($variables['result']['node'])));
10         //debug(unserialize(serialize($variables['result']['node']->toArray()['field_image'])));
11
12         // this attaches the 'node' object so that we can access the image in field_image, via our twig template.
13         $variables['node'] = $variables['result']['node'];
14
15 }
16