public static function EntityReferenceLayoutRevisions::create in GraphQL 8.4
@codeCoverageIgnore
Overrides ContainerFactoryPluginInterface::create
File
- src/
Plugin/ GraphQL/ DataProducer/ Field/ EntityReferenceLayoutRevisions.php, line 87
Class
- EntityReferenceLayoutRevisions
- Loads the entity reference layout revisions.
Namespace
Drupal\graphql\Plugin\GraphQL\DataProducer\FieldCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('entity_type.manager'), $container
->get('graphql.buffer.entity_revision'));
}