public function getLabel($text, $info = null)
    {
        $options = [
            'text' => $text,
            'templateVars' => []
        ];

        if ($info !== null) {
            $options['templateVars']['labelInfo'] = '<small>' . $info . '</small>';
        }

        return $options;
    }