You are here

public static function ConfigurableProviderUsingHandlerBase::create in Geocoder 8.3

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

Overrides ProviderBase::create

File

src/ConfigurableProviderUsingHandlerBase.php, line 67

Class

ConfigurableProviderUsingHandlerBase
Provides a base class for configurable providers using handlers.

Namespace

Drupal\geocoder

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('config.factory'), $container
    ->get('cache.geocoder'), $container
    ->get('language_manager'), $container
    ->get('config.typed'));
}