Get field label by the field name in drupal $entity_type = 'node'; $bundle_name = 'article'; $field_name = 'field_some_field'; $info = field_info_instance($entity_type, $field_name, $bundle_name); $label = $info['label'];
Post a Comment