Skip to content
Snippets Groups Projects
Commit 10655465 authored by Sascha Eggenberger's avatar Sascha Eggenberger
Browse files

Local action as primary button

parent bb824bae
No related branches found
Tags 7.x-3.0-alpha1
No related merge requests found
......@@ -335,12 +335,12 @@ function gin_preprocess_menu(&$variables) {
/**
* Local actions preprocess.
*/
function gin_preprocess_menu_local_action(&$variables) {
$classes = &$variables['link']['#options']['attributes']['class'];
$classes = array_filter($classes, function ($e) {
return $e != 'button--primary';
});
}
// function gin_preprocess_menu_local_action(&$variables) {
// $classes = &$variables['link']['#options']['attributes']['class'];
// $classes = array_filter($classes, function ($e) {
// return $e != 'button--primary';
// });
// }
/**
* Implements toolbar preprocess.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment