You are here

public function XmlSitemapCustomDeleteForm::__construct in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 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\Form

Code

public function __construct(XmlSitemapLinkStorageInterface $link_storage) {
  $this->linkStorage = $link_storage;
}