You are here

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

@codeCoverageIgnore

Overrides ContainerFactoryPluginInterface::create

File

modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/FocalPoint.php, line 58

Class

FocalPoint
Resolves the focal point positions for a file.

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('config.factory'), $container
    ->get('focal_point.manager'), $container
    ->get('module_handler'));
}