You are here

public static function UrlGeneratorPluginBase::create in Simple XML sitemap 8.2

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container:

array $configuration:

string $plugin_id:

mixed $plugin_definition:

Return value

static

Overrides SimplesitemapPluginBase::create

1 method overrides UrlGeneratorPluginBase::create()
UrlGeneratorBase::create in src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php
Creates an instance of the plugin.

File

src/Plugin/simple_sitemap/UrlGeneratorPluginBase.php, line 44

Class

UrlGeneratorPluginBase
Class UrlGeneratorPluginBase @package Drupal\simple_sitemap\Plugin\simple_sitemap

Namespace

Drupal\simple_sitemap\Plugin\simple_sitemap

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition);
}