You are here

protected function ThunderSchemaExtensionPluginBase::resolvePageInterfaceFields in Thunder 6.2.x

Add fields common to all page types.

Parameters

string $type: The type name.

string $entity_type_id: The entity type ID.

1 call to ThunderSchemaExtensionPluginBase::resolvePageInterfaceFields()
ThunderPagesSchemaExtension::resolveFields in modules/thunder_gqls/src/Plugin/GraphQL/SchemaExtension/ThunderPagesSchemaExtension.php
Add article field resolvers.

File

modules/thunder_gqls/src/Plugin/GraphQL/SchemaExtension/ThunderSchemaExtensionPluginBase.php, line 223

Class

ThunderSchemaExtensionPluginBase
The base class for Thunder schema extension plugins.

Namespace

Drupal\thunder_gqls\Plugin\GraphQL\SchemaExtension

Code

protected function resolvePageInterfaceFields(string $type, string $entity_type_id) {
  $this
    ->resolveBaseFields($type, $entity_type_id);
}