|
|
@@ -18,6 +18,9 @@ trait ConfigTrait
|
|
|
return [];
|
|
|
}
|
|
|
$this->options = $this->extensionManager->getExtensionConfig($this->getExtensionID());
|
|
|
+ if (method_exists($this, 'getOptions')) {
|
|
|
+ $this->options = array_merge($this->options, $this->getOptions());
|
|
|
+ }
|
|
|
}
|
|
|
return $key ? ($this->options[$key] ?? null) : $this->options;
|
|
|
}
|