You are here

function lightning_scheduler_system_info_alter in Lightning Workflow 8.2

Same name and namespace in other branches
  1. 8.3 modules/lightning_scheduler/lightning_scheduler.module \lightning_scheduler_system_info_alter()

Implements hook_system_info_alter().

File

modules/lightning_scheduler/lightning_scheduler.module, line 48

Code

function lightning_scheduler_system_info_alter(array &$info, Extension $extension, $type) {
  if ($type === 'theme' && $extension
    ->getName() === 'seven') {
    $info['libraries-extend']['lightning_scheduler/widget'][] = 'seven/lightning_scheduler.widget';
  }
}