8000 35 desc prefix by jenlampton · Pull Request #40 · backdrop-contrib/mini_layouts · GitHub
[go: up one dir, main page]

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mini_layouts.admin.inc
8000
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ function mini_layouts_admin_configure($form, &$form_state, $name = NULL) {
'#type' => 'textfield',
'#title' => t('Admin description'),
'#default_value' => $mini_layout->description,
'#field_prefix' => t('Mini-layout: '),
'#maxlength' => 128,
'#description' => t('This text is used only in administrative interfaces. It will not be shown to site visitors.<br />Allowed HTML tags: @tags', array('@tags' => _filter_xss_display_allowed_tags())),
'#id' => 'block-description',
Expand Down
2 changes: 1 addition & 1 deletion mini_layouts.module
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function mini_layouts_block_info() {
foreach ($config_names as $block) {
$block_info = array();
$block_info['info'] = !empty($block['block_title']) ? $block['block_title'] : $block['title'];
$block_info['description'] = !empty($block['description']) ? $block['description'] : NULL;
$block_info['description'] = !empty($block['description']) ? 'Mini layout: ' . $block['description'] : NULL;

// If no description was entered, use a generic one.
if (empty($block_info['description'])) {
Expand Down
0