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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2799811-2.patch | 647 bytes | geertvd |
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2799811-2.patch | 647 bytes | geertvd |
Comments
Comment #2
geertvd commentedComment #3
geertvd commentedComment #4
dinesh18 commentedManually reviewed the patch. Looks good to me.
Changing the status to RTBC.
Comment #5
avpadernoIt's better to use
!empty($group_info['description'])instead ofisset($group_info['description']).isset($group_info['description'])would returnTRUEeven when$group_info['description']is set to an empty string, or to a value likeFALSE.