public function EntityFieldDeriverBase::__construct in GraphQL 8.3
RawValueFieldItemDeriver constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager: The entity field manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entityTypeBundleInfo: The bundle info service.
string $basePluginId: The base plugin id.
File
- modules/
graphql_core/ src/ Plugin/ Deriver/ EntityFieldDeriverBase.php, line 87
Class
- EntityFieldDeriverBase
- Generate GraphQLField plugins for config fields.
Namespace
Drupal\graphql_core\Plugin\DeriverCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, EntityFieldManagerInterface $entityFieldManager, EntityTypeBundleInfoInterface $entityTypeBundleInfo, $basePluginId) {
$this->basePluginId = $basePluginId;
$this->entityTypeManager = $entityTypeManager;
$this->entityFieldManager = $entityFieldManager;
$this->entityBundleInfo = $entityTypeBundleInfo;
}