diff --git a/core/themes/seven/seven.theme b/core/themes/seven/seven.theme index c0447d0..850018a 100644 --- a/core/themes/seven/seven.theme +++ b/core/themes/seven/seven.theme @@ -45,6 +45,7 @@ function seven_preprocess_node_add_list(&$variables) { if (!empty($variables['content'])) { foreach ($variables['content'] as $type) { $variables['types'][$type->type]['label'] = check_plain($type->name); + $variables['types'][$type->type]['description'] = filter_xss_admin($type->description); $variables['types'][$type->type]['path'] = url('node/add/' . $type->type); } } @@ -63,6 +64,7 @@ function seven_preprocess_custom_block_add_list(&$variables) { if (!empty($variables['content'])) { foreach ($variables['content'] as $type) { $variables['types'][$type->id]['label'] = check_plain($type->label()); + $variables['types'][$type->id]['description'] = filter_xss_admin($type->description); $variables['types'][$type->id]['path'] = url('block/add/' . $type->id); } }