We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1590e8 + 48fcf58 commit 134df58Copy full SHA for 134df58
graphql_api.graphql.inc
@@ -13,6 +13,21 @@ use GraphQL\Type\Definition\ObjectType;
13
function graphql_api_graphql_api_info() {
14
return [
15
'types' => [
16
+ 'field_item_link' => new ObjectType([
17
+ 'name' => 'field_item_link',
18
+ 'fields' => function() {
19
+ return [
20
+ 'title' => [
21
+ 'type' => Type::string(),
22
+ 'description' => t('The title of the link.')
23
+ ],
24
+ 'url' => [
25
26
+ 'description' => t('The URL of the link.')
27
28
+ ];
29
+ }
30
+ ]),
31
'text_formatted' => new ObjectType(
32
[
33
'name' => 'text_formatted',
0 commit comments