src/Twig/Extension/NetworkingHelperExtension.php
public function getSubFormsByZone($formChildren, $zone)
    {
        $zones = [];

        foreach ($formChildren as $subForms) {
            if ($this->getFormFieldZone($subForms) == $zone) {
                $zones[] = $subForms;
            }
        }

        return $zones;
    }
public function getSubFormsByZone($formChildren, $zone)
    {
        $zones = [];

        foreach ($formChildren as $subForms) {
            if ($this->getFormFieldZone($subForms) == $zone) {
                $zones[] = $subForms;
            }
        }

        return $zones;
    }
public function getSubFormsByZone ( $ formChildren , $ zone ) { $ zones = [ ] ; foreach ( $ formChildren as $ subForms ) { if ( $ this -> getFormFieldZone ( $ subForms ) == $ zone ) { $ zones [ ] = $ subForms ; } } return $ zones ; }
Gets a list of forms sorted to a particular zone.

@param $formChildren
@param $zone

@return array
Gets a list of forms sorted to a particular zone .