After enabling module keep getting a bunch of notices:
Notice: Undefined index: module in fullcalendar_legend_preprocess_block() (line 24 of [site_root]/modules/contrib/fullcalendar/fullcalendar_legend/fullcalendar_legend.module)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rocket.man created an issue. See original summary.

bkhandruk’s picture

Assigned: bkhandruk » Unassigned
Status: Active » Needs review
FileSize
724 bytes
tacituseu’s picture

Status: Needs review » Needs work

You can use 'provider', 'module' is defined as part of the annotation and probably no longer needed, unless the intention was for sub-modules to be able to define plugins on behalf of other modules ? Did it as a part of #2828939: Restore AJAX functionality to keep people from tripping on it.

maxilein’s picture

thanks! Works for me applied to the latest dev version.

hardik jayeshbhai hihoriya’s picture

#2 Thank you very much

@rocket.man

I have used below code and update module file.

function fullcalendar_legend_preprocess_block(&$variables) {
    if(isset($variables['configuration']['module']) && $variables['configuration']['module'] == 'fullcalendar_legend') {  
    $variables['attributes']['class'][] = 'fullcalendar-legend';
  }
}
Harlor’s picture

ryankavalsky’s picture