function total_control_element_info_alter in Total Control Admin Dashboard 3.0.x
Same name and namespace in other branches
- 8.2 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';
}
}