Automattic\WooCommerce\Vendor\GraphQL\Utils
SchemaExtender::extensionASTNodes
Method of the class: SchemaExtender{}
No Hooks.
Returns
Array
Usage
// protected - for code of main (parent) or child class $result = $this->extensionASTNodes( $type ): ?array;
- $type(Type&NamedType) (required)
- .
SchemaExtender::extensionASTNodes() SchemaExtender::extensionASTNodes code WC 10.9.1
protected function extensionASTNodes(NamedType $type): ?array
{
return [
...$type->extensionASTNodes ?? [],
...$this->typeExtensionsMap[$type->name] ?? [],
];
}