Commit 89d3d7dc authored by deepak_123's avatar deepak_123 Committed by Renato Goncalves H
Browse files

Issue #2688375 by deepak_123, Devaraj johnson, dltj, karthikkumarbodu,...

Issue #2688375 by deepak_123, Devaraj johnson, dltj, karthikkumarbodu, RenatoG: Help text for field collection shows up on node view page
parent 280de245
......@@ -997,7 +997,7 @@ function field_collection_field_formatter_links(&$element, $entity_type, $entity
$path = field_collection_field_get_path($field);
list($id) = entity_extract_ids($entity_type, $entity);
$element['#suffix'] = '';
if (!empty($settings['description'])) {
if (!empty($settings['description']) && $entity_type != 'node') {
$element['#suffix'] .= '<div class="description field-collection-description">' . field_filter_xss($instance['description']) . '</div>';
$title = entity_i18n_string("field:{$field['field_name']}:{$instance['bundle']}:setting_add", $settings['add']);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment