function total_control_element_info_alter in Total Control Admin Dashboard 8.2
Same name and namespace in other branches
- 3.0.x total_control.module \total_control_element_info_alter()
Implements hook_element_info_alter().
File
- ./
total_control.module, line 13 - Contains total_control.module.
Code
function total_control_element_info_alter(array &$types) {
// Attach our extra CSS for toolbar icons.
if (isset($types['toolbar'])) {
$types['toolbar']['#attached']['library'][] = 'total_control/tc';
}
}