public function Generator::customLinkManager in Simple XML sitemap 4.x
File
- src/
Manager/ Generator.php, line 182
Class
- Generator
- Main managing service.
Namespace
Drupal\simple_sitemap\ManagerCode
public function customLinkManager() : CustomLinkManager {
/** @var \Drupal\simple_sitemap\Manager\CustomLinkManager $custom_links */
$custom_links = \Drupal::service('simple_sitemap.custom_link_manager');
return $custom_links
->setVariants($this
->getVariants());
}