public function XmlSitemapCustomEditForm::__construct in XML sitemap 8
Same name and namespace in other branches
- 2.x xmlsitemap_custom/src/Form/XmlSitemapCustomEditForm.php \Drupal\xmlsitemap_custom\Form\XmlSitemapCustomEditForm::__construct()
Constructs a new XmlSitemapCustomEditForm object.
Parameters
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager service.
\Drupal\path_alias\AliasManagerInterface $alias_manager: The path alias manager service.
\Drupal\Core\Http\ClientFactory $http_client_factory: A Guzzle client object.
\Drupal\xmlsitemap\XmlSitemapLinkStorageInterface $link_storage: The xmlsitemap link storage service.
File
- xmlsitemap_custom/
src/ Form/ XmlSitemapCustomEditForm.php, line 71
Class
- XmlSitemapCustomEditForm
- Provides a form for editing a custom link.
Namespace
Drupal\xmlsitemap_custom\FormCode
public function __construct(LanguageManagerInterface $language_manager, AliasManagerInterface $alias_manager, ClientFactory $http_client_factory, XmlSitemapLinkStorageInterface $link_storage) {
$this->languageManager = $language_manager;
$this->aliasManager = $alias_manager;
$this->httpClientFactory = $http_client_factory;
$this->linkStorage = $link_storage;
}