You are here

public function XmlSitemapInterface::setMaxFileSize in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 src/XmlSitemapInterface.php \Drupal\xmlsitemap\XmlSitemapInterface::setMaxFileSize()

Sets the maximum file size of the sitemap.

Parameters

string $max_filesize: The maximum file size.

Return value

\Drupal\xmlsitemap\XmlSitemapInterface The class instance that this method is called on.

1 method overrides XmlSitemapInterface::setMaxFileSize()
XmlSitemap::setMaxFileSize in src/Entity/XmlSitemap.php
Sets the maximum file size of the sitemap.

File

src/XmlSitemapInterface.php, line 113

Class

XmlSitemapInterface
Provides an interface defining a XmlSitemap entity.

Namespace

Drupal\xmlsitemap

Code

public function setMaxFileSize($max_filesize);