function high_contrast_library_info_build in High contrast 8
Implements hook_library_info_build().
File
- ./
high_contrast.module, line 24 - Allows users to switch to a high contrast version of the active theme.
Code
function high_contrast_library_info_build() {
$libraries = [];
$libraries['high_contrast'] = [
'version' => filemtime(HIGH_CONTRAST_CSS_LOCATION),
'css' => [
'base' => [
HIGH_CONTRAST_CSS_LOCATION => [],
],
],
];
return $libraries;
}