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.
Comment | File | Size | Author |
---|---|---|---|
config-0.patch | 883 bytes | martin107 |
Comments
Comment #1
tacituseu CreditAttribution: tacituseu commentedWent in with http://cgit.drupalcode.org/fullcalendar/commit/fullcalendar_options/src/...