You are here

public function SimpleSitemap::fromPublishedAndUnpublished in Simple XML sitemap 4.x

Overrides SimpleSitemapInterface::fromPublishedAndUnpublished

File

src/Entity/SimpleSitemap.php, line 102

Class

SimpleSitemap
Defines the simple_sitemap entity.

Namespace

Drupal\simple_sitemap\Entity

Code

public function fromPublishedAndUnpublished() : SimpleSitemapInterface {
  $this->fetchByStatus = self::FETCH_BY_STATUS_ALL;
  return $this;
}