public function getFormats()
    {
        return [
            'date'     => $this->getDateFormatHelper()->getFormatsDate(),
            'datetime' => $this->getDateFormatHelper()->getFormatsDateTime(),
            'time'     => $this->getDateFormatHelper()->getFormatsTime(),
            'number'   => $this->formatNumber,
            'boolean'  => $this->formatBoolean,
            'string'   => $this->formatString,
            'region'   => $this->formatString,
            'tel'      => $this->formatTel,
            'text'     => $this->formatText,
            'email'    => $this->formatEmail,
        ];
    }
public function getFormats()
    {
        return [
            'date'     => $this->getDateFormatHelper()->getFormatsDate(),
            'datetime' => $this->getDateFormatHelper()->getFormatsDateTime(),
            'time'     => $this->getDateFormatHelper()->getFormatsTime(),
            'number'   => $this->formatNumber,
            'boolean'  => $this->formatBoolean,
            'string'   => $this->formatString,
            'region'   => $this->formatString,
            'tel'      => $this->formatTel,
            'text'     => $this->formatText,
            'email'    => $this->formatEmail,
        ];
    }
public function getFormats ( ) { return [ 'date' => $ this -> getDateFormatHelper ( ) -> getFormatsDate ( ) , 'datetime' => $ this -> getDateFormatHelper ( ) -> getFormatsDateTime ( ) , 'time' => $ this -> getDateFormatHelper ( ) -> getFormatsTime ( ) , 'number' => $ this -> formatNumber , 'boolean' => $ this -> formatBoolean , 'string' => $ this -> formatString , 'region' => $ this -> formatString , 'tel' => $ this -> formatTel , 'text' => $ this -> formatText , 'email' => $ this -> formatEmail , ] ; }
Outputs an array of formats by field type for the front-end tokenization.

@return array
Outputs an array of formats by field type for the front - end tokenization .