public function getField(string $className): array
    {
        $conditionFieldsType = $this->types->getFilterGroupCondition($className);

        $field = [
            'name' => 'conditions',
            'description' => 'Conditions to be applied on fields',
            'type' => Type::listOf(Type::nonNull($conditionFieldsType)),
        ];

        return $field;
    }
public function getField(string $className): array
    {
        $conditionFieldsType = $this->types->getFilterGroupCondition($className);

        $field = [
            'name' => 'conditions',
            'description' => 'Conditions to be applied on fields',
            'type' => Type::listOf(Type::nonNull($conditionFieldsType)),
        ];

        return $field;
    }
public function getField ( string $ className ) : array { $ conditionFieldsType = $ this -> types -> getFilterGroupCondition ( $ className ) ; $ field = [ 'name' => 'conditions' , 'description' => 'Conditions to be applied on fields' , 'type' => Type :: listOf ( Type :: nonNull ( $ conditionFieldsType ) ) , ] ; return $ field ; }
Get the field for conditions on all fields

@param string $className

@return array
Get the field for conditions on all fields