FieldDefinitionMapper
FieldDefinitionMapper.php
:
15
Maps a Field Definition to its GraphQL components.
Methods¶
mapToFieldDefinitionType() ¶
FieldDefinitionMapper.php
:
17
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$fieldDefinition | FieldDefinition | - | - |
Return values
string|null
mapToFieldValueArgsBuilder() ¶
FieldDefinitionMapper.php
:
30
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$fieldDefinition | FieldDefinition | - | - |
Return values
string|null
the argsBuilder string, or null if there are none.
mapToFieldValueInputType() ¶
FieldDefinitionMapper.php
:
21
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contentType | ContentType | - | - |
$fieldDefinition | FieldDefinition | - | - |
Return values
string|null
mapToFieldValueResolver() ¶
FieldDefinitionMapper.php
:
23
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$fieldDefinition | FieldDefinition | - | - |
Return values
string|null
mapToFieldValueType() ¶
FieldDefinitionMapper.php
:
19
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$fieldDefinition | FieldDefinition | - | - |
Return values
string|null