page ressources v0

This commit is contained in:
armansansd
2021-06-25 15:26:41 +02:00
parent dc693372ee
commit 883a9d29aa
12 changed files with 238 additions and 11 deletions

View File

@@ -80,6 +80,7 @@ function popsu_preprocess_views_view_field(&$variables){
if (isset($settings['link_to_entity']) && $settings['link_to_entity']) {
// get the entity and build the classes
$entity = $variables['row']->_entity;
// $target_id = $entity;
// build new classes
$new_classes = array(
$entity->getEntityTypeId(),