You are here

public function EntityLinks::__construct in Thunder 6.2.x

EntityLinks constructor.

Parameters

array $configuration: The plugin configuration array.

string $pluginId: The plugin id.

mixed $pluginDefinition: The plugin definition.

\Drupal\Core\Render\RendererInterface $renderer: The renderer service.

File

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

Class

EntityLinks
Plugin to resolve all the links for an entity.

Namespace

Drupal\thunder_gqls\Plugin\GraphQL\DataProducer

Code

public function __construct(array $configuration, string $pluginId, $pluginDefinition, RendererInterface $renderer) {
  parent::__construct($configuration, $pluginId, $pluginDefinition);
  $this->renderer = $renderer;
}