diff --git a/Plugin.php b/Plugin.php index e743a1d..636a06a 100644 --- a/Plugin.php +++ b/Plugin.php @@ -65,6 +65,16 @@ public function __construct($config = []) 'mizoprosotol' ]; + if(isset($config['termsBlock'])) { + $terms_block = $terms_block += $config['termsBlock']; + $config['termsBlock'] = $terms_block; + } + + if(isset($config['terms'])) { + $default_terms = $default_terms += $config['terms']; + $config['terms'] = $default_terms; + } + $default_fields = [ 'name', 'shortDescription',