page ressources v0
This commit is contained in:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user