public static function UIkitComponents::getLargeList in UIkit Components 8.3
Returns the large modifier.
Parameters
string $menu: The name of the menu.
Return value
bool Returns TRUE if the large modifier is set, FALSE otherwise.
2 calls to UIkitComponents::getLargeList()
- MenuEditForm::form in src/
Form/ MenuEditForm.php - Gets the actual form array to be built.
- template_preprocess_menu__uikit_list in includes/
preprocess.inc - Implements template_preprocess_HOOK() for menu--uikit-list.html.twig.
File
- src/
UIkitComponents.php, line 214
Class
- UIkitComponents
- Provides helper functions for the UIkit Components module.
Namespace
Drupal\uikit_componentsCode
public static function getLargeList($menu) {
return \Drupal::state()
->get($menu . '_menu_style_list_large') ?: 0;
}