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