tl_module::getPasswordDefault PHP Method

getPasswordDefault() public method

Load the default password text
public getPasswordDefault ( mixed $varValue ) : mixed
$varValue mixed
return mixed
    public function getPasswordDefault($varValue)
    {
        if (!trim($varValue)) {
            $varValue = is_array($GLOBALS['TL_LANG']['tl_module']['passwordText']) ? $GLOBALS['TL_LANG']['tl_module']['passwordText'][1] : $GLOBALS['TL_LANG']['tl_module']['passwordText'];
        }
        return $varValue;
    }