You are here

public function XmlSitemap::setMaxFileSize in XML sitemap 8

Same name and namespace in other branches
  1. 2.x src/Entity/XmlSitemap.php \Drupal\xmlsitemap\Entity\XmlSitemap::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.

Overrides XmlSitemapInterface::setMaxFileSize

File

src/Entity/XmlSitemap.php, line 176

Class

XmlSitemap
Defines the XmlSitemap entity.

Namespace

Drupal\xmlsitemap\Entity

Code

public function setMaxFileSize($max_filesize) {
  $this->max_filesize = $max_filesize;
  return $this;
}