lib/Collection/QueryType/Handler/Traits/MainLocationFilterTrait.php
private function buildMainLocationParameters(ParameterBuilderInterface $builder, array $groups = []): void
    {
        $builder->add(
            'only_main_locations',
            ParameterType\BooleanType::class,
            [
                'default_value' => true,
                'groups' => $groups,
            ]
        );
    }
private function buildMainLocationParameters(ParameterBuilderInterface $builder, array $groups = []): void
    {
        $builder->add(
            'only_main_locations',
            ParameterType\BooleanType::class,
            [
                'default_value' => true,
                'groups' => $groups,
            ]
        );
    }
private function buildMainLocationParameters ( ParameterBuilderInterface $ builder , array $ groups = [ ] ) : void { $ builder -> add ( 'only_main_locations' , ParameterType \ BooleanType :: class , [ 'default_value' => true , 'groups' => $ groups , ] ) ; }
Builds the parameters for filtering content with main location only.
Builds the parameters for filtering content with main location only .