Development
Last updated on
3 April 2023
- During development, you may switch to non-minified assets by specifying the following in your local `settings.php` and clearing the Drupal cache:
// Enable non-minified assets. $settings['fullcalendar_block.dev_mode'] = TRUE;
- There is a hook called 'hook_fullcalendar_block_settings_alter' for other modules to modify the block settings, includeing the calendar options.
More details about this hook. See here - JavaScript events.
-
fullcalendar_block.beforebuild
An event to let other modules know that a calendar will be built. Parameters:event
: The event object.calendarOptions
: The calendar options object.
-
fullcalendar_block.build
An event to let other modules know when a calendar has been built. Parameters:event
: The event object.blockInstance
: The block instance object containingelement
: The fullcalendar block DOM element.index
: The fullcalendar block index.calendar
: The Fullcalendar instance.calendarOptions
: The calendar options object.blockSettings
: The block settings object.
More details about those events see:
https://git.drupalcode.org/project/fullcalendar_block#development
-
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion