lib/Block/BlockDefinition/Configuration/Collection.php
public function isValidQueryType(string $queryType): bool
    {
        if (!is_array($this->validQueryTypes)) {
            return true;
        }

        return in_array($queryType, $this->validQueryTypes, true);
    }
public function isValidQueryType(string $queryType): bool
    {
        if (!is_array($this->validQueryTypes)) {
            return true;
        }

        return in_array($queryType, $this->validQueryTypes, true);
    }
public function isValidQueryType ( string $ queryType ) : bool { if ( ! is_array ( $ this -> validQueryTypes ) ) { return true ; } return in_array ( $ queryType , $ this -> validQueryTypes , true ) ; }
Returns if the provided query type is valid.
Returns if the provided query type is valid .