src/Charcoal/Admin/Widget/FormPropertyWidget.php
public function showLabel()
    {
        if ($this->showLabel === null) {
            $prop = $this->property();
            $show = $prop['show_label'];
            if ($show !== null) {
                $this->showLabel = $show;
            } else {
                $this->showLabel = true;
            }
        }

        if ($this->showLabel !== false) {
            return !!strval($this->property()->label());
        } else {
            return false;
        }
    }
public function showLabel()
    {
        if ($this->showLabel === null) {
            $prop = $this->property();
            $show = $prop['show_label'];
            if ($show !== null) {
                $this->showLabel = $show;
            } else {
                $this->showLabel = true;
            }
        }

        if ($this->showLabel !== false) {
            return !!strval($this->property()->label());
        } else {
            return false;
        }
    }
public function showLabel ( ) { if ( $ this -> showLabel === null ) { $ prop = $ this -> property ( ) ; $ show = $ prop [ 'show_label' ] ; if ( $ show !== null ) { $ this -> showLabel = $ show ; } else { $ this -> showLabel = true ; } } if ( $ this -> showLabel !== false ) { return ! ! strval ( $ this -> property ( ) -> label ( ) ) ; } else { return false ; } }
Determine if the label is to be displayed.

@return boolean If TRUE or unset, check if there is a label.
Determine if the label is to be displayed .