Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 43.49 KB
MD5: e53acf4359a3e890702e549d93b7a906
SHA-1: 37df8b8ce610717da349d3791214b4b006597060
SHA-256: b0a6fc16870ef92240250e8049576d221d51eca51bc618fe68817d43da47d9e5
Download zip 67.8 KB
MD5: 655dd8975dcb47acd753272c911d2d6e
SHA-1: fe1c1a636adfba8358399a5a1ccdf20685066573
SHA-256: 09c698cd00855c5a080bf58e66cb012408e95ed9aab7c8738f42d688e5b8b74b

Release notes

New features

Other improvements

API changes

No changes have been made that break backwards compatibility.

#2931911: Allow overriding entity generator plugin for specific entity types allows for easy overriding of the entity generator plugin for any entity type. This is being utilized for menu link generation now.

Please make sure to use the below simple_sitemap.generator service API instead of accessing the module's configuration storage directly.

API methods

  • getSetting()
  • saveSetting()
  • getSitemap()
  • generateSitemap()
  • getGeneratedAgo()
  • enableEntityType()
  • disableEntityType()
  • setBundleSettings()
  • getBundleSettings()
  • setEntityInstanceSettings()
  • getEntityInstanceSettings()
  • removeEntityInstanceSettings()
  • bundleIsIndexed()
  • entityTypeIsEnabled()
  • addCustomLink()
  • getCustomLinks()
  • getCustomLink()
  • removeCustomLink()
  • removeCustomLinks()

Hooks

  • hook_simple_sitemap_links_alter(&$links)
  • hook_simple_sitemap_arbitrary_links_alter(&$arbitrary_links)
  • hook_simple_sitemap_attributes_alter(&$attributes)
  • hook_simple_sitemap_index_attributes_alter(&$index_attributes)
  • hook_simple_sitemap_url_generators_alter(&$generators)

Read more about the API in the documentation.

Check out this resource for more details about the module and in-depth tutorials.

Created by: gbyte
Created on: 8 Apr 2018 at 15:46 UTC
Last updated: 18 Nov 2018 at 01:40 UTC
New features
Unsupported

Other releases