Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
simple_sitemap
Commits
dd3fc95e
Commit
dd3fc95e
authored
Dec 09, 2016
by
Pawel G
Browse files
Small cleanup
parent
5833ff01
Changes
3
Hide whitespace changes
Inline
Side-by-side
config/install/simple_sitemap.settings.yml
View file @
dd3fc95e
...
...
@@ -3,8 +3,8 @@ cron_generate: true
remove_duplicates
:
true
skip_untranslated
:
false
batch_process_limit
:
1500
base_url
:
'
'
enabled_entity_types
:
-
'
node'
-
'
taxonomy_term'
-
'
menu_link_content'
base_url
:
'
'
config/schema/simple_sitemap.schema.yml
View file @
dd3fc95e
...
...
@@ -16,14 +16,14 @@ simple_sitemap.settings:
batch_process_limit
:
label
:
'
Batch
process
limit'
type
:
integer
base_url
:
label
:
'
Base
URL'
type
:
string
enabled_entity_types
:
label
:
'
Enabled
entity
types'
type
:
sequence
sequence
:
type
:
string
base_url
:
label
:
'
Base
URL'
type
:
string
simple_sitemap.bundle_settings.*.*
:
label
:
'
Entity
bundle
settings'
...
...
tests/src/Unit/SimplesitemapTestBase.php
View file @
dd3fc95e
...
...
@@ -36,20 +36,16 @@ abstract class SimplesitemapTestBase extends UnitTestCase {
// Initial config set up. These are the settings the module sets upon
// installation (see sitemap_settings.settings.yml).
$this
->
config
=
[
'custom'
=>
[
[
'path'
=>
'/'
,
'priority'
=>
'1.0'
],
],
'entity_types'
=>
[
'node'
=>
[],
'taxonomy_term'
=>
[],
'menu_link_content'
=>
[],
],
'settings'
=>
[
'max_links'
=>
2000
,
'cron_generate'
=>
TRUE
,
'remove_duplicates'
=>
TRUE
,
'batch_process_limit'
=>
1500
,
'max_links'
=>
2000
,
'cron_generate'
=>
TRUE
,
'remove_duplicates'
=>
TRUE
,
'batch_process_limit'
=>
1500
,
'enabled_entity_types'
=>
[
'node'
,
'taxonomy_term'
,
'menu_link_content'
,
],
'base_url'
=>
''
,
];
// Mock the digtap service with the above settings.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment