hook_variable_group_info() allows adding a description. I would expect this description to be used on the group edit form but this is not the case at the moment.

CommentFileSizeAuthor
#2 2799811-2.patch647 bytesgeertvd

Comments

geertvd created an issue. See original summary.

geertvd’s picture

StatusFileSize
new647 bytes
geertvd’s picture

Status: Active » Needs review
dinesh18’s picture

Status: Needs review » Reviewed & tested by the community

Manually reviewed the patch. Looks good to me.
Changing the status to RTBC.

avpaderno’s picture

Status: Reviewed & tested by the community » Needs work
+        '#description' => isset($group_info['description']) ? $group_info['description'] : '',

It's better to use !empty($group_info['description']) instead of isset($group_info['description']). isset($group_info['description']) would return TRUE even when $group_info['description'] is set to an empty string, or to a value like FALSE.