You are here

public static function EntityLinks::create in Thunder 6.2.x

@codeCoverageIgnore

Overrides ContainerFactoryPluginInterface::create

File

modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/EntityLinks.php, line 43

Class

EntityLinks
Plugin to resolve all the links for an entity.

Namespace

Drupal\thunder_gqls\Plugin\GraphQL\DataProducer

Code

public static function create(ContainerInterface $container, array $configuration, $pluginId, $pluginDefinition) {
  return new static($configuration, $pluginId, $pluginDefinition, $container
    ->get('renderer'));
}