public function SitemapGenerator::set_entity_types in Simple XML sitemap 8
File
- src/
SitemapGenerator.php, line 50 - Contains \Drupal\simplesitemap\SitemapGenerator.
Class
- SitemapGenerator
- SitemapGenerator class.
Namespace
Drupal\simplesitemapCode
public function set_entity_types($entity_types) {
$this->entity_types = is_array($entity_types) ? $entity_types : array();
}