public static function UrlGeneratorBase::create in Simple XML sitemap 4.x
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()
- 8.2 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 SimpleSitemapPluginBase::create
1 method overrides UrlGeneratorBase::create()
- EntityUrlGeneratorBase::create in src/
Plugin/ simple_sitemap/ UrlGenerator/ EntityUrlGeneratorBase.php - Creates an instance of the plugin.
File
- src/
Plugin/ simple_sitemap/ UrlGenerator/ UrlGeneratorBase.php, line 53
Class
- UrlGeneratorBase
- Class UrlGeneratorBase
Namespace
Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGeneratorCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) : SimpleSitemapPluginBase {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('simple_sitemap.logger'), $container
->get('simple_sitemap.settings'));
}