added ids to block on pages manager layout

This commit is contained in:
2021-06-24 12:12:18 +02:00
parent f9ec104992
commit 1d29f1e5f1
5 changed files with 147 additions and 4 deletions

View File

@@ -35,11 +35,14 @@ function popsu_preprocess_views_view_unformatted(&$variables) {
}
/*$rows = $variables['rows'];
/*
$rows = $variables['rows'];
$style = $view->style_plugin;
$options = $style->options;
$variables['default_row_class'] = !empty($options['default_row_class']);*/
/* foreach ($rows as $id => $row) {
$variables['default_row_class'] = !empty($options['default_row_class']);
*/
/*
foreach ($rows as $id => $row) {
$variables['rows'][$id] = array();
$variables['rows'][$id]['content'] = $row;
$variables['rows'][$id]['attributes'] = new Attribute();
@@ -48,5 +51,14 @@ function popsu_preprocess_views_view_unformatted(&$variables) {
$variables['rows'][$id]['attributes']
->addClass($row_class);
}
}*/
}
*/
};
/**
* Implements hook_preprocess_block().
*/
// function popsu_preprocess_block(&$variables) {
// $t="t";
// }