src/Charcoal/Admin/Widget/FormPropertyWidget.php
private function resolveDisplayType()
    {
        $type = null;

        /** Attempt display type resolution without instantiating the property, at first. */
        $metadata = $this->propertyData();
        if ($metadata) {
            if (isset($metadata['display_type'])) {
                $type = $metadata['display_type'];
            }
        }

        if ($this->propertyType || $this->property) {
            $type = $this->property()->displayType();
        }

        return $type;
    }
private function resolveDisplayType()
    {
        $type = null;

        /** Attempt display type resolution without instantiating the property, at first. */
        $metadata = $this->propertyData();
        if ($metadata) {
            if (isset($metadata['display_type'])) {
                $type = $metadata['display_type'];
            }
        }

        if ($this->propertyType || $this->property) {
            $type = $this->property()->displayType();
        }

        return $type;
    }
private function resolveDisplayType ( ) { $ type = null ; /** Attempt display type resolution without instantiating the property, at first. */ $ metadata = $ this -> propertyData ( ) ; if ( $ metadata ) { if ( isset ( $ metadata [ 'display_type' ] ) ) { $ type = $ metadata [ 'display_type' ] ; } } if ( $ this -> propertyType || $ this -> property ) { $ type = $ this -> property ( ) -> displayType ( ) ; } return $ type ; }
Resolve the property display type.

@return string
Resolve the property display type .