You are here

public function TypeResolver::applies in GraphQL 8

Same name and namespace in other branches
  1. 8.2 src/TypeResolver.php \Drupal\graphql\TypeResolver::applies()

Parameters

mixed $type:

Return value

bool

Overrides TypeResolverInterface::applies

File

src/TypeResolver.php, line 26

Class

TypeResolver
Attempts to GraphQL type definitions from arbitrary data types.

Namespace

Drupal\graphql

Code

public function applies($type) {
  return TRUE;
}