You are here

public static function UIkitComponents::getRenderElementList in UIkit Components 8.3

Get the UIkit list of components to define as render elements.

Since UIkit Components will not define all UIkit components as render elements, this list serves as the list of components defined as render elements using the Render API.

Return value

array Returns an array of UIkit component short-names for render elements.

1 call to UIkitComponents::getRenderElementList()
uikit_components_theme in includes/theme.inc
Implements hook_theme().

File

src/UIkitComponents.php, line 117

Class

UIkitComponents
Provides helper functions for the UIkit Components module.

Namespace

Drupal\uikit_components

Code

public static function getRenderElementList() {
  return [
    'accordion',
    'alert',
    'article',
    'badge',
    'breadcrumb',
    'button',
    'card',
    'comment',
    'countdown',
    'cover',
    'description_list',
    'dotnav',
    'drop',
    'dropdown',
    'icon',
    'iconnav',
    'lightbox',
    'list',
    'modal',
    'nav',
    'navbar',
    'notification',
    'overlay',
    'pagination',
    'progress',
    'section',
    'slidenav',
    'slideshow',
    'spinner',
    'subnav',
    'switcher',
    'tab',
    'table',
    'thumbnav',
    'tile',
    'tooltip',
    'video',
  ];
}