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

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

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

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