Révision 582db59d
Ajouté par Assos Assos il y a plus de 8 ans
drupal7/modules/field/field.info.class.inc | ||
---|---|---|
612 | 612 |
// Fill in default values. |
613 | 613 |
$display += array( |
614 | 614 |
'label' => 'above', |
615 |
'type' => $field_type_info['default_formatter'], |
|
616 | 615 |
'settings' => array(), |
617 | 616 |
'weight' => 0, |
618 | 617 |
); |
618 |
if (empty($display['type'])) { |
|
619 |
$display['type'] = $field_type_info['default_formatter']; |
|
620 |
} |
|
619 | 621 |
if ($display['type'] != 'hidden') { |
620 | 622 |
$formatter_type_info = field_info_formatter_types($display['type']); |
621 | 623 |
// Fall back to default formatter if formatter type is not available. |
Formats disponibles : Unified diff
Update Drupal core to version 7.40