Contao\Password::generateConfirmationLabel PHP Метод

generateConfirmationLabel() публичный Метод

Generate the label of the confirmation field and return it as string
public generateConfirmationLabel ( ) : string
Результат string
    public function generateConfirmationLabel()
    {
        return sprintf('<label for="ctrl_%s_confirm" class="confirm%s">%s%s%s</label>', $this->strId, strlen($this->strClass) ? ' ' . $this->strClass : '', $this->mandatory ? '<span class="invisible">' . $GLOBALS['TL_LANG']['MSC']['mandatory'] . ' </span>' : '', $GLOBALS['TL_LANG']['MSC']['confirm'][0], $this->mandatory ? '<span class="mandatory">*</span>' : '');
    }