68bacd9e911c3c09a852aac7761003bd4717c672
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d7 / hook / contextual_links_view_alter.twig
1 /**
2  * Implements hook_contextual_links_view_alter().
3  */
4 function {{ machine_name }}_contextual_links_view_alter(&$element, $items) {
5   // Add another class to all contextual link lists to facilitate custom
6   // styling.
7   $element['#attributes']['class'][] = 'custom-class';
8 }