2 * Implements hook_contextual_links_view_alter().
4 function {{ machine_name }}_contextual_links_view_alter(&$element, $items) {
5 // Add another class to all contextual link lists to facilitate custom
7 $element['#attributes']['class'][] = 'custom-class';