+link array shortly before it is transformed to XML.
+
+Adding arbitrary links is possible through the use of
+hook_simple_sitemap_arbitrary_links_alter(&$arbitrary_links){}. There are no
+checks performed on these links (i.e. if they are internal/valid/accessible)
+and parameters like priority/lastmod/changefreq have to be added manually.
+
+Altering sitemap attributes and sitemap index attributes is possible through the
+use of hook_simple_sitemap_attributes_alter(&$attributes){} and
+hook_simple_sitemap_index_attributes_alter(&$index_attributes){}.
+
+Altering URL generator plugins is possible through
+the use of hook_simple_sitemap_url_generators_alter(&$generators){}.
+
+In case this module's URL generators do not cover your use case, it is possible
+to implement new generator plugins in a custom module. To do it, simply extend
+the Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorBase
+class. See the generator plugins included in this module and check the API docs
+(https://www.drupal.org/docs/8/api/plugin-api/plugin-api-overview) to learn how
+to implement plugins.
+
+Overwriting the default EntityUrlGenerator for a single entity type is possible
+through the flag "overrides_entity_type" = "[entity_type_to_be_overwritten]" in
+the settings array of the new generator plugin's annotation. See how the
+EntityUrlGenerator is overwritten by the EntityMenuLinkContentUrlGenerator to
+facilitate a different logic for menu links.
+
+There are API methods for altering stored inclusion settings, status queries and
+programmatic sitemap generation. These include:
+
+ * getSetting()
+ * saveSetting()
+ * getSitemap()
+ * generateSitemap()
+ * getGeneratedAgo()
+ * enableEntityType()
+ * disableEntityType()
+ * setBundleSettings()
+ * getBundleSettings()
+ * setEntityInstanceSettings()
+ * getEntityInstanceSettings()
+ * removeEntityInstanceSettings()
+ * bundleIsIndexed()
+ * entityTypeIsEnabled()
+ * addCustomLink()
+ * getCustomLinks()
+ * getCustomLink()
+ * removeCustomLink()
+ * removeCustomLinks()
+
+These service methods can be chained like so:
+
+\Drupal::service('simple_sitemap.generator')
+ ->saveSetting('remove_duplicates', TRUE)
+ ->enableEntityType('node')
+ ->setBundleSettings('node', 'page', ['index' => TRUE, 'priority' = 0.5])
+ ->removeCustomLinks()
+ ->addCustomLink('/some/view/page', ['priority' = 0.5])
+ ->generateSitemap();