css divers
This commit is contained in:
@@ -40,7 +40,11 @@ function eql_preprocess_field(&$variables) {
|
||||
if ($field_name == 'field_type_de_protagoniste'){
|
||||
$type_protagoniste = $node->get('field_type_de_protagoniste')->getString();
|
||||
$variables['attributes']['class'][] = 'type-de-protagoniste-' . $type_protagoniste;
|
||||
}
|
||||
}
|
||||
// if ($field_name == 'field--name-title'){
|
||||
// $name_title = $node->get('field--name-title')->getString();
|
||||
// $variables['attributes']['class'][] = 'name_title-' . $name_title;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user