concrete/src/Entity/Geolocator.php
public function getGeolocatorDisplayDescription($format = 'html')
    {
        $value = tc('GeolocatorDescription', $this->getGeolocatorDescription());
        switch ($format) {
            case 'html':
                return nl2br(h($value));
            case 'text':
            default:
                return $value;
        }
    }
public function getGeolocatorDisplayDescription($format = 'html')
    {
        $value = tc('GeolocatorDescription', $this->getGeolocatorDescription());
        switch ($format) {
            case 'html':
                return nl2br(h($value));
            case 'text':
            default:
                return $value;
        }
    }
public function getGeolocatorDisplayDescription ( $ format = 'html' ) { $ value = tc ( 'GeolocatorDescription' , $ this -> getGeolocatorDescription ( ) ) ; switch ( $ format ) { case 'html' : return nl2br ( h ( $ value ) ) ; case 'text' : default : return $ value ; } }
Get the Geolocator display description.

@param string $format = 'html' Escape the result in html format (if $format is 'html'). If $format is 'text' or any other value, the display description won't be escaped.

@return string
Get the Geolocator display description .