public function XmlSitemapCustomDeleteForm::__construct in XML sitemap 8
Same name and namespace in other branches
- 2.x xmlsitemap_custom/src/Form/XmlSitemapCustomDeleteForm.php \Drupal\xmlsitemap_custom\Form\XmlSitemapCustomDeleteForm::__construct()
Constructs a new XmlSitemapCustomEditForm object.
@codingStandardsIgnoreEnd
Parameters
\Drupal\xmlsitemap\XmlSitemapLinkStorageInterface $link_storage: The xmlsitemap link storage service.
File
- xmlsitemap_custom/
src/ Form/ XmlSitemapCustomDeleteForm.php, line 41
Class
- XmlSitemapCustomDeleteForm
- Provides a form for deleting a custom link.
Namespace
Drupal\xmlsitemap_custom\FormCode
public function __construct(XmlSitemapLinkStorageInterface $link_storage) {
$this->linkStorage = $link_storage;
}