public static function ArbitraryUrlGenerator::create in Simple XML sitemap 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/simple_sitemap/UrlGenerator/ArbitraryUrlGenerator.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\ArbitraryUrlGenerator::create()
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container:
array $configuration:
string $plugin_id:
mixed $plugin_definition:
Return value
static
Overrides UrlGeneratorBase::create
File
- src/
Plugin/ simple_sitemap/ UrlGenerator/ ArbitraryUrlGenerator.php, line 51
Class
- ArbitraryUrlGenerator
- Class ArbitraryUrlGenerator @package Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator
Namespace
Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGeneratorCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('simple_sitemap.generator'), $container
->get('simple_sitemap.logger'), $container
->get('module_handler'));
}