Skip to content
Snippets Groups Projects
Commit 9bcf40f7 authored by Eric Bremner's avatar Eric Bremner
Browse files

Updating descriptions for sections and blocks

parent a201019e
No related branches found
Tags 8.x-1.0-alpha2
No related merge requests found
......@@ -45,7 +45,7 @@ class LayoutBuilderIdsConfigureBlock implements EventSubscriberInterface {
'#title' => 'Block ID',
'#weight' => 0,
'#default_value' => $layout_builder_id ? $layout_builder_id : NULL,
'#description' => t('Enter an ID for the section, must contain only letters and hyphens.'),
'#description' => t('Enter an ID for the block. IDs can contain letters, numbers, underscore, hyphen and period characters, and should start with a letter.'),
];
// Add our custom submit function.
......
......@@ -44,7 +44,7 @@ class LayoutBuilderIdsConfigureSection implements EventSubscriberInterface {
'#title' => 'Section ID',
'#weight' => 0,
'#default_value' => isset($config['layout_builder_id']) ? $config['layout_builder_id'] : '',
'#description' => t('Enter an ID for the section, must contain only letters and hyphens.'),
'#description' => t('Enter an ID for the section. IDs can contain letters, numbers, underscore, hyphen and period characters, and should start with a letter.'),
];
// Add our custom submit handler.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment