function responsive_menu_library_info_build in Responsive and off-canvas menu 4.0.x
Same name and namespace in other branches
- 8.3 responsive_menu.module \responsive_menu_library_info_build()
- 8.2 responsive_menu.module \responsive_menu_library_info_build()
- 4.4.x responsive_menu.module \responsive_menu_library_info_build()
- 4.1.x responsive_menu.module \responsive_menu_library_info_build()
- 4.3.x responsive_menu.module \responsive_menu_library_info_build()
Implements hook_library_info_build().
Adds a dynamic library definition for the breakpoint css.
See also
File
- ./
responsive_menu.module, line 352 - Contains procedural code.
Code
function responsive_menu_library_info_build() {
$libraries = [];
$libraries['responsive_menu.breakpoint'] = [
'css' => [
'theme' => [
_get_breakpoint_css_filepath() . RESPONSIVE_MENU_BREAKPOINT_FILENAME => [],
],
],
];
return $libraries;
}