src/Charcoal/Admin/Widget/FormWidget.php
public function formProperties()
    {
        $sidebars = $this->sidebars;
        if (!is_array($sidebars)) {
            yield null;
        } else {
            foreach ($this->formProperties as $formProperty) {
                if ($formProperty->active() === false) {
                    continue;
                }

                $GLOBALS['widget_template'] = $formProperty->inputType();

                yield $formProperty->propertyIdent() => $formProperty;

                $GLOBALS['widget_template'] = '';
            }
        }
    }
public function formProperties()
    {
        $sidebars = $this->sidebars;
        if (!is_array($sidebars)) {
            yield null;
        } else {
            foreach ($this->formProperties as $formProperty) {
                if ($formProperty->active() === false) {
                    continue;
                }

                $GLOBALS['widget_template'] = $formProperty->inputType();

                yield $formProperty->propertyIdent() => $formProperty;

                $GLOBALS['widget_template'] = '';
            }
        }
    }
public function formProperties ( ) { $ sidebars = $ this -> sidebars ; if ( ! is_array ( $ sidebars ) ) { yield null ; } else { foreach ( $ this -> formProperties as $ formProperty ) { if ( $ formProperty -> active ( ) === false ) { continue ; } $ GLOBALS [ 'widget_template' ] = $ formProperty -> inputType ( ) ; yield $ formProperty -> propertyIdent ( ) => $ formProperty ; $ GLOBALS [ 'widget_template' ] = '' ; } } }
Yield the form's property controls.

@return \Generator
Yield the form s property controls .