public function getCalendarId(EntityInterface $entity, ArrayObject $options, $map = null)
    {
        $result = null;

        if (empty($options['calendar'])) {
            return $result;
        }

        $result = $options['calendar']->id;

        return $result;
    }