@@ -59,6 +59,9 @@ |
||
59 | 59 | ]; |
60 | 60 | } |
61 | 61 | |
62 | + /** |
|
63 | + * @param string $entityTypeId |
|
64 | + */ |
|
62 | 65 | protected function getParentsForField($entityTypeId, FieldStorageDefinitionInterface $fieldDefinition) { |
63 | 66 | if ($fieldDefinition->isBaseField()) { |
64 | 67 | return [StringHelper::camelCase([$entityTypeId])]; |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\graphql_core\Plugin\Deriver\Fields; |
4 | 4 | |
5 | -use Drupal\Core\Field\FieldConfigInterface; |
|
6 | 5 | use Drupal\Core\Field\FieldStorageDefinitionInterface; |
7 | 6 | use Drupal\field\FieldStorageConfigInterface; |
8 | 7 | use Drupal\graphql\Utility\StringHelper; |