protected function _processTemplateVars(array $options)
    {
        $templateVars = isset($options['options']['templateVars']) ? $options['options']['templateVars'] : [];

        if (empty($templateVars)) {
            return $templateVars;
        }

        if (isset($templateVars['formRowLabel']) && $options['options']['id'] !== false) {
            $templateVars['formRowFor'] = ' for="' . $options['options']['id'] . '"';
        }

        $wrapInSmall = [
            'formRowLabelInfo',
            'formRowInfo',
            'info'
        ];

        foreach ($wrapInSmall as $attr) {
            if (isset($templateVars[$attr])) {
                $templateVars[$attr] = '<small>' . $templateVars[$attr] . '</small>';
            }
        }

        return $templateVars;
    }