diff --git a/src/Service/UwNodeFieldValue.php b/src/Service/UwNodeFieldValue.php index d8cdd9d56041d3ee18d27d8cb86ce551521ab2ef..84f04994a50ea66c099c89f1000ea7a192ad3c6e 100644 --- a/src/Service/UwNodeFieldValue.php +++ b/src/Service/UwNodeFieldValue.php @@ -106,7 +106,7 @@ class UwNodeFieldValue { // Office hours field type. if ($type == 'hours') { - $hours = $node->$field_name->view(); + $hours = $node->$field_name->view('teaser'); if (isset($hours['#title'])) { return $hours; }