Commit be076559 authored by andrei.dincu's avatar andrei.dincu

Issue #2249723 by andrei.dincu: Do not set xmlsitemap_entity_* state variables in hook_install()

parent 19053f7e
......@@ -357,11 +357,7 @@ function xmlsitemap_install() {
*/
\Drupal::state()->setMultiple(array(
'base_url' => url(NULL, array('absolute' => TRUE)),
'developer_mode' => 0,
'xmlsitemap_entity_menu' => FALSE,
'xmlsitemap_entity_node' => FALSE,
'xmlsitemap_entity_taxonomy' => FALSE,
'xmlsitemap_entity_user' => FALSE
'developer_mode' => 0
));
$context = xmlsitemap_get_current_context();
$sitemap = \Drupal::entityManager()->getStorage('xmlsitemap')->create(array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment