Answers for "Notice: Undefined index: module"

0

Notice: Undefined index: module

function fullcalendar_legend_preprocess_block(&$variables) {
    if(isset($variables['configuration']['module']) && $variables['configuration']['module'] == 'fullcalendar_legend') {  
    $variables['attributes']['class'][] = 'fullcalendar-legend';
  }
}
Posted by: Guest on June-03-2020

Code answers related to "Notice: Undefined index: module"

Browse Popular Code Answers by Language