Merge pull request #2742 from firemankurt/master
Allows Settings to be defined in YAML
This commit is contained in:
commit
03fc5cb78e
|
|
@ -138,7 +138,10 @@ class PluginBase extends ServiceProviderBase
|
|||
*/
|
||||
public function registerSettings()
|
||||
{
|
||||
return [];
|
||||
$configuration = $this->getConfigurationFromYaml();
|
||||
if (array_key_exists('settings', $configuration)) {
|
||||
return $configuration['settings'];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue