Add a class to l() function
Add a class to l() function
In Drupal 7, you might want to output a simple class when using the l() function to create a link
l('Link Text', 'path', array('attributes' => array('class' => 'custom-class')));
In Drupal 7, you might want to output a simple class when using the l() function to create a link
l('Link Text', 'path', array('attributes' => array('class' => 'custom-class')));