public function XmlSitemapWriter::writeSitemapElement in XML sitemap 8
Writes an full XML sitemap element tag.
Parameters
string $name: The element name.
array $element: An array of the elements properties and values.
Deprecated
File
- src/
XmlSitemapWriter.php, line 197
Class
- XmlSitemapWriter
- Extended class for writing XML sitemap files.
Namespace
Drupal\xmlsitemapCode
public function writeSitemapElement($name, array $element) {
$this
->writeElement($name, $element);
}