12345678910111213141516171819202122232425262728293031323334353637383940 |
- /* implements template_preprocess_region() */
- /*function popsu_preprocess_region(&$variables){
- kint($variables);
- if (isset($variables['region']) && $variables['region'] == 'header_top_right') {
-
- }
- }*/
- /*function popsu_preprocess_views_view_unformatted(&$variables){
- $variables['attributes']['class'][] = "test" ;
- //kint($variables).die();
- }*/
- /**
- * Add an alternative to file name suggestions the Custom Search form block.
- *
- * Implements hook__suggestions_HOOK_alter().
- * @return array Suggestions.
- */
- /*function popsu_theme_suggestions_views_view_unformatted_alter(array &$suggestions, array $variables) {
- $suggestions[] = 'views_view__headerView';
- /*if($variables['elements']['#id'] == 'customsearchform'){
- $suggestions[] = 'block__custom_search_form';
- }*/
- //}
- /*
- * Implements hook__suggestions_HOOK_alter().
- * @return array Suggestions.
- */
- /*function popsu_theme_suggestions_block_alter(array &$suggestions, array $variables) {
- if($variables['elements']['#id'] == 'customsearchform'){
- $suggestions[] = 'block__custom_search_form';
- }
- }*/
|