public function XmlSitemap::setUpdated in XML sitemap 2.x
Same name and namespace in other branches
- 8 src/Entity/XmlSitemap.php \Drupal\xmlsitemap\Entity\XmlSitemap::setUpdated()
Sets if the sitemap was updated.
Parameters
bool $updated: Check is sitemap was updated.
Return value
\Drupal\xmlsitemap\XmlSitemapInterface The class instance that this method is called on.
Overrides XmlSitemapInterface::setUpdated
File
- src/
Entity/ XmlSitemap.php, line 192
Class
- XmlSitemap
- Defines the XmlSitemap entity.
Namespace
Drupal\xmlsitemap\EntityCode
public function setUpdated($updated) {
$this->updated = $updated;
return $this;
}