From 7c2f1ce005b78ecf0b33a0c747eeb277a4a908c5 Mon Sep 17 00:00:00 2001 From: M Miller <miller.2676@osu.edu> Date: Thu, 31 May 2018 20:57:14 -0700 Subject: [PATCH] change footer_block to footer_text --- src/Form/ModuleConfigurationForm.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Form/ModuleConfigurationForm.php b/src/Form/ModuleConfigurationForm.php index 972f675..7b2f0bd 100644 --- a/src/Form/ModuleConfigurationForm.php +++ b/src/Form/ModuleConfigurationForm.php @@ -72,12 +72,12 @@ class ModuleConfigurationForm extends ConfigFormBase { '#default_value' => $config->get('admin_link'), ); - $form['basic']['footer_block'] = array( + $form['basic']['footer_text'] = array( '#type' => 'text_format', - '#title' => $this->t('Footer Block'), + '#title' => $this->t('Footer Text'), '#description' => $this->t('This content will be displayed in the footer below the contact info. It can contain links or other pertinent information. This is a good place for your ADA statement.'), '#format' => 'basic_html', - '#default_value' => $config->get('footer_block.value'), + '#default_value' => $config->get('footer_text.value'), ); // Contact Information tab @@ -223,7 +223,7 @@ class ModuleConfigurationForm extends ConfigFormBase { $this->config('wcm8_siteinfo.settings') ->set('prefix', $values['prefix']) ->set('admin_link', $values['admin_link']) - ->set('footer_block', $values['footer_block']) + ->set('footer_text', $values['footer_text']) ->set('address_1', $values['address_1']) ->set('address_2', $values['address_2']) ->set('city', $values['city']) -- GitLab