fixed showroom location formatter and contentype display
remains css
This commit is contained in:
@@ -86,7 +86,7 @@ function materio_showroom_field_formatter_info() {
|
||||
// This formatter just displays the hex value in the color indicated.
|
||||
'materio_showroom_location_simple_text' => array(
|
||||
'label' => t('Simple text-based formatter'),
|
||||
'field types' => array('field_example_rgb'),
|
||||
'field types' => array('field_materio_showroom_location'),
|
||||
),
|
||||
// This formatter changes the background color of the content region.
|
||||
// 'field_example_color_background' => array(
|
||||
@@ -112,7 +112,7 @@ function materio_showroom_field_formatter_view($entity_type, $entity, $field, $i
|
||||
$element = array();
|
||||
|
||||
switch ($display['type']) {
|
||||
// This formatter simply outputs the field as text and with a color.
|
||||
// This formatter simply outputs the field as text.
|
||||
case 'materio_showroom_location_simple_text':
|
||||
foreach ($items as $delta => $item) {
|
||||
$term = taxonomy_term_load($item['showroom_tid']);
|
||||
|
Reference in New Issue
Block a user