public function getCalendarEventContent(EntityInterface $entity, ArrayObject $options, $map = null)
    {
        $source = $map->content->options->source;
        $result = $entity->get($source);

        if (!empty($options['viewEntity'])) {
            $url = $options['viewEntity']->Html->link(__('Source'), ['action' => 'view', $entity->get('id')]);

            $result .= "<br/><p>Reference: $url </p>";
        }

        return $result;
    }