@@ -23,6 +23,7 @@ class ModuleConfigurationForm extends ConfigFormBase {
protectedfunctiongetEditableConfigNames(){
return[
'wcm8_siteinfo.settings',
'system.site',
];
}
...
...
@@ -58,11 +59,10 @@ class ModuleConfigurationForm extends ConfigFormBase {
$form['basic']['site_name']=array(
'#type'=>'textfield',
'#title'=>$this->t('Site Name'),
'#description'=>$this->t('READ ONLY for now until this app is done. Main name for the site - it should be your college, department or organization name.'),
'#description'=>$this->t('Main name for the site - it should be your college, department or organization name.'),
'#size'=>'60',
'#maxlength'=>'75',
'#default_value'=>$site_name,
'#attributes'=>array('readonly'=>'readonly'),
);
$form['basic']['admin_link']=array(
...
...
@@ -220,6 +220,8 @@ class ModuleConfigurationForm extends ConfigFormBase {