footer v0
This commit is contained in:
@@ -45,13 +45,21 @@ function popsu_preprocess_views_view_unformatted(&$variables) {
|
||||
/* implements template_preprocess_region() */
|
||||
|
||||
function popsu_preprocess_region(&$variables) {
|
||||
$r = $variables['region'];
|
||||
|
||||
if (isset($variables['region'])) {
|
||||
$variables['attributes']['class'][] = $variables['region'].'_container';
|
||||
|
||||
$variables['attributes']['class'][] = $variables['region'].'_container';
|
||||
}
|
||||
// if ($variables['region'] == 'footer_bottom_right') {
|
||||
// if ($node = \Drupal::routeMatch()->getParameter('node')) {
|
||||
// $t = $node->getType();
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
// function popsu_preprocess_field(&$variables){
|
||||
// $v = $variables;
|
||||
// }
|
||||
|
||||
|
||||
|
||||
// function popsu_theme_suggestions_views_view_alter(array &$suggestions, array $variables) {
|
||||
|
Reference in New Issue
Block a user