Loading core/themes/claro/claro.theme +6 −4 Original line number Diff line number Diff line Loading @@ -747,6 +747,7 @@ function claro_form_system_modules_alter(&$form, FormStateInterface $form_state) foreach (Element::children($form['modules'][$key]) as $module_key) { if (isset($form['modules'][$key][$module_key]['links'])) { foreach ($form['modules'][$key][$module_key]['links'] as $link_key => &$link) { if (array_key_exists($link_key, $link_key_to_action_link_type)) { $action_link_type = $link_key_to_action_link_type[$link_key]; $link['#options']['attributes']['class'][] = 'action-link'; $link['#options']['attributes']['class'][] = 'action-link--small'; Loading @@ -757,6 +758,7 @@ function claro_form_system_modules_alter(&$form, FormStateInterface $form_state) } } } } /** * Implements hook_preprocess_form_element(). Loading Loading
core/themes/claro/claro.theme +6 −4 Original line number Diff line number Diff line Loading @@ -747,6 +747,7 @@ function claro_form_system_modules_alter(&$form, FormStateInterface $form_state) foreach (Element::children($form['modules'][$key]) as $module_key) { if (isset($form['modules'][$key][$module_key]['links'])) { foreach ($form['modules'][$key][$module_key]['links'] as $link_key => &$link) { if (array_key_exists($link_key, $link_key_to_action_link_type)) { $action_link_type = $link_key_to_action_link_type[$link_key]; $link['#options']['attributes']['class'][] = 'action-link'; $link['#options']['attributes']['class'][] = 'action-link--small'; Loading @@ -757,6 +758,7 @@ function claro_form_system_modules_alter(&$form, FormStateInterface $form_state) } } } } /** * Implements hook_preprocess_form_element(). Loading