studio-ui composer is ready to test actively
This commit is contained in:
@@ -103,7 +103,6 @@ function edlptheme_preprocess_node__enregistrement__search_index(&$vars){
|
||||
// dpm($vars['link_attributes']);
|
||||
}
|
||||
|
||||
|
||||
function edlptheme_preprocess_node__enregistrement__compo(&$vars){
|
||||
$node = $vars['elements']['#node'];
|
||||
$options = ['absolute' => TRUE];
|
||||
@@ -125,6 +124,10 @@ function edlptheme_preprocess_node__enregistrement__compo(&$vars){
|
||||
'nid' => $node->id(),
|
||||
'class' => array('audio-link', 'ajax-link')
|
||||
));
|
||||
|
||||
// dpm($vars);
|
||||
$title = $vars['label'][0]['#context']['value'];
|
||||
$vars['label'][0]['#context']['value'] = Unicode::truncate($title, 25, true, true);
|
||||
// dpm($vars['link_attributes']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user