I want to customize the link text, don't want to use string overrides module for this small job.
In my template_preprocess_node() function I tried to change the #title element of the render array. But it doesn't change the link. Any ideas?
//change the "subscribe link for tribes
if ($variables['type'] == 'tribe'){
if (isset($variables['elements']['group_group']['0']['#title'])){
$variables['elements']['group_group']['0']['#title'] = 'Join this Tribe';
}
}