A simple one line fix.

At the moment the error is config is an undefined function!

--- a/fullcalendar_options/src/Plugin/fullcalendar/type/FullcalendarOptions.php
+++ b/fullcalendar_options/src/Plugin/fullcalendar/type/FullcalendarOptions.php
@@ -175,7 +175,7 @@ class FullcalendarOptions extends FullcalendarBase {
protected function optionsListParsed() {
$form = static::optionsList();
// By default, restrict the form to options allowed by the admin settings.
- $form = array_intersect_key($form, array_filter(config('fullcalendar_options.settings')->get()));
+ $form = array_intersect_key($form, array_filter(\Drupal::config('fullcalendar_options.settings')->get()));

if (isset($form['dayClick'])) {
// Add in dependency form elements.

CommentFileSizeAuthor
config-0.patch883 bytesmartin107
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tacituseu’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.