public static function UrlGeneratorBase::create in Simple XML sitemap 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorBase::create()
- 4.x src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorBase::create()
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container:
array $configuration:
string $plugin_id:
mixed $plugin_definition:
Return value
static
Overrides UrlGeneratorPluginBase::create
4 methods override UrlGeneratorBase::create()
- ArbitraryUrlGenerator::create in src/
Plugin/ simple_sitemap/ UrlGenerator/ ArbitraryUrlGenerator.php - Creates an instance of the plugin.
- CustomUrlGenerator::create in src/
Plugin/ simple_sitemap/ UrlGenerator/ CustomUrlGenerator.php - Creates an instance of the plugin.
- EntityMenuLinkContentUrlGenerator::create in src/
Plugin/ simple_sitemap/ UrlGenerator/ EntityMenuLinkContentUrlGenerator.php - Creates an instance of the plugin.
- EntityUrlGenerator::create in src/
Plugin/ simple_sitemap/ UrlGenerator/ EntityUrlGenerator.php - Creates an instance of the plugin.
File
- src/
Plugin/ simple_sitemap/ UrlGenerator/ UrlGeneratorBase.php, line 118
Class
- UrlGeneratorBase
- Class UrlGeneratorBase @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.sitemap_generator'), $container
->get('language_manager'), $container
->get('entity_type.manager'), $container
->get('simple_sitemap.logger'), $container
->get('simple_sitemap.entity_helper'));
}