src/FieldBuilder.php
protected function getDefaultClasses($type)
    {
        if (isset($this->cssClasses[$type])) {
            return $this->cssClasses[$type];
        }

        if (isset($this->cssClasses['default'])) {
            return $this->cssClasses['default'];
        }

        return '';
    }
protected function getDefaultClasses($type)
    {
        if (isset($this->cssClasses[$type])) {
            return $this->cssClasses[$type];
        }

        if (isset($this->cssClasses['default'])) {
            return $this->cssClasses['default'];
        }

        return '';
    }
protected function getDefaultClasses ( $ type ) { if ( isset ( $ this -> cssClasses [ $ type ] ) ) { return $ this -> cssClasses [ $ type ] ; } if ( isset ( $ this -> cssClasses [ 'default' ] ) ) { return $ this -> cssClasses [ 'default' ] ; } return '' ; }
Get the default HTML classes for a particular type.

If the type is not defined it will use the 'default' key in the
cssClasses array, otherwise it will return an empty string.

@param  string $type
@return string
Get the default HTML classes for a particular type .