Fix Drupal 8 Coding Standards #2

This commit is contained in:
samiahmedsiddiqui
2017-09-18 11:57:51 +05:00
parent 98161a6384
commit 7ddda31027
3 changed files with 22 additions and 16 deletions

View File

@@ -7,10 +7,10 @@ use Symfony\Component\HttpFoundation\Request;
use Drupal\Core\Form\FormStateInterface;
/**
* This Class Provides the settings page for adding CSS/JS after the body tag on the site.
* Provide settings page for adding CSS/JS after the start of body tag.
*/
class BodyForm extends ConfigFormBase {
/**
* Implements FormBuilder::getFormId.
*/
@@ -33,8 +33,8 @@ class BodyForm extends ConfigFormBase {
$form['hfs_body'] = [
'#type' => 'fieldset',
'#title' => t('Add Scripts and Styles in body'),
'#description' => t('All the defined scripts and styles in this section would be added next to <strong>body</strong> tag.'),
'#title' => $this->t('Add Scripts and Styles in body'),
'#description' => $this->t('All the defined scripts and styles in this section would be added next to <strong>body</strong> tag.'),
];
$form['hfs_body']['styles'] = [