├── web
├── modules
│ ├── .gitkeep
│ └── custom
│ │ ├── migrate_posts
│ │ ├── migrate_posts.features.yml
│ │ ├── config
│ │ │ └── install
│ │ │ │ ├── node.type.post.yml
│ │ │ │ ├── field.field.node.post.body.yml
│ │ │ │ ├── core.base_field_override.node.post.promote.yml
│ │ │ │ ├── core.entity_view_display.node.post.teaser.yml
│ │ │ │ ├── field.field.node.post.comment.yml
│ │ │ │ ├── core.entity_view_display.node.post.default.yml
│ │ │ │ └── core.entity_form_display.node.post.default.yml
│ │ └── migrate_posts.info.yml
│ │ ├── migrate_json_hackday
│ │ ├── migrate_json_hackday.info.yml
│ │ ├── src
│ │ │ └── Plugin
│ │ │ │ └── migrate
│ │ │ │ └── process
│ │ │ │ └── Truncate.php
│ │ └── config
│ │ │ └── install
│ │ │ ├── migrate_plus.migration.post.yml
│ │ │ └── migrate_plus.migration.comment.yml
│ │ └── migrate_menu
│ │ ├── migrate_menu.info.yml
│ │ ├── migrate_menu.install
│ │ ├── config
│ │ └── install
│ │ │ ├── migrate_plus.migration_group.liip.yml
│ │ │ ├── migrate_plus.migration.page_node.yml
│ │ │ └── migrate_plus.migration.menu_item.yml
│ │ ├── src
│ │ └── Plugin
│ │ │ └── migrate
│ │ │ ├── process
│ │ │ └── generatePath.php
│ │ │ └── source
│ │ │ ├── PageNode.php
│ │ │ └── MenuItem.php
│ │ └── data
│ │ └── navigation.csv
├── profiles
│ └── .gitkeep
├── themes
│ └── .gitkeep
├── .eslintrc
├── sites
│ ├── default
│ │ ├── config_migrate
│ │ │ └── sync
│ │ │ │ ├── seven.settings.yml
│ │ │ │ ├── system.image.yml
│ │ │ │ ├── dblog.settings.yml
│ │ │ │ ├── field.settings.yml
│ │ │ │ ├── node.settings.yml
│ │ │ │ ├── system.image.gd.yml
│ │ │ │ ├── system.logging.yml
│ │ │ │ ├── automated_cron.settings.yml
│ │ │ │ ├── field_ui.settings.yml
│ │ │ │ ├── system.authorize.yml
│ │ │ │ ├── system.theme.yml
│ │ │ │ ├── text.settings.yml
│ │ │ │ ├── menu_ui.settings.yml
│ │ │ │ ├── system.mail.yml
│ │ │ │ ├── config_devel.settings.yml
│ │ │ │ ├── features.settings.yml
│ │ │ │ ├── system.diff.yml
│ │ │ │ ├── filter.settings.yml
│ │ │ │ ├── system.cron.yml
│ │ │ │ ├── taxonomy.settings.yml
│ │ │ │ ├── user.flood.yml
│ │ │ │ ├── system.rss.yml
│ │ │ │ ├── contact.settings.yml
│ │ │ │ ├── file.settings.yml
│ │ │ │ ├── image.settings.yml
│ │ │ │ ├── system.file.yml
│ │ │ │ ├── system.maintenance.yml
│ │ │ │ ├── shortcut.set.default.yml
│ │ │ │ ├── system.date.yml
│ │ │ │ ├── core.menu.static_menu_link_overrides.yml
│ │ │ │ ├── core.date_format.html_date.yml
│ │ │ │ ├── core.date_format.html_month.yml
│ │ │ │ ├── core.date_format.html_week.yml
│ │ │ │ ├── core.date_format.html_year.yml
│ │ │ │ ├── core.date_format.html_time.yml
│ │ │ │ ├── core.date_format.long.yml
│ │ │ │ ├── core.date_format.short.yml
│ │ │ │ ├── migrate_plus.migration_group.liip.yml
│ │ │ │ ├── system.menu.footer.yml
│ │ │ │ ├── system.menu.main.yml
│ │ │ │ ├── core.date_format.medium.yml
│ │ │ │ ├── system.menu.admin.yml
│ │ │ │ ├── contact.form.personal.yml
│ │ │ │ ├── core.date_format.fallback.yml
│ │ │ │ ├── system.menu.tools.yml
│ │ │ │ ├── core.date_format.html_datetime.yml
│ │ │ │ ├── core.date_format.html_yearless_date.yml
│ │ │ │ ├── update.settings.yml
│ │ │ │ ├── user.role.administrator.yml
│ │ │ │ ├── core.entity_view_mode.node.rss.yml
│ │ │ │ ├── block_content.type.basic.yml
│ │ │ │ ├── contact.form.feedback.yml
│ │ │ │ ├── core.entity_view_mode.node.teaser.yml
│ │ │ │ ├── core.entity_view_mode.user.compact.yml
│ │ │ │ ├── system.menu.account.yml
│ │ │ │ ├── comment.type.comment.yml
│ │ │ │ ├── core.entity_form_mode.user.register.yml
│ │ │ │ ├── core.entity_view_mode.node.full.yml
│ │ │ │ ├── core.entity_view_mode.user.full.yml
│ │ │ │ ├── core.entity_view_mode.comment.full.yml
│ │ │ │ ├── core.entity_view_mode.node.search_index.yml
│ │ │ │ ├── search.page.user_search.yml
│ │ │ │ ├── taxonomy.vocabulary.tags.yml
│ │ │ │ ├── core.entity_view_mode.block_content.full.yml
│ │ │ │ ├── system.action.node_save_action.yml
│ │ │ │ ├── core.entity_view_mode.node.search_result.yml
│ │ │ │ ├── core.entity_view_mode.taxonomy_term.full.yml
│ │ │ │ ├── system.action.node_delete_action.yml
│ │ │ │ ├── search.page.node_search.yml
│ │ │ │ ├── system.action.node_publish_action.yml
│ │ │ │ ├── system.site.yml
│ │ │ │ ├── system.action.comment_save_action.yml
│ │ │ │ ├── system.action.node_unpublish_action.yml
│ │ │ │ ├── system.action.comment_publish_action.yml
│ │ │ │ ├── system.action.node_make_sticky_action.yml
│ │ │ │ ├── system.action.node_promote_action.yml
│ │ │ │ ├── system.action.node_unpromote_action.yml
│ │ │ │ ├── system.action.user_block_user_action.yml
│ │ │ │ ├── system.action.comment_unpublish_action.yml
│ │ │ │ ├── system.action.node_make_unsticky_action.yml
│ │ │ │ ├── system.action.user_unblock_user_action.yml
│ │ │ │ ├── system.action.user_cancel_user_action.yml
│ │ │ │ ├── migrate_plus.migration_group.default.yml
│ │ │ │ ├── rdf.mapping.user.user.yml
│ │ │ │ ├── system.theme.global.yml
│ │ │ │ ├── system.action.user_add_role_action.administrator.yml
│ │ │ │ ├── node.type.page.yml
│ │ │ │ ├── node.type.article.yml
│ │ │ │ ├── system.action.user_remove_role_action.administrator.yml
│ │ │ │ ├── search.settings.yml
│ │ │ │ ├── page_manager.page.node_view.yml
│ │ │ │ ├── user.role.anonymous.yml
│ │ │ │ ├── node.type.post.yml
│ │ │ │ ├── image.style.large.yml
│ │ │ │ ├── image.style.medium.yml
│ │ │ │ ├── image.style.thumbnail.yml
│ │ │ │ ├── block.block.seven_help.yml
│ │ │ │ ├── block.block.bartik_help.yml
│ │ │ │ ├── block.block.seven_page_title.yml
│ │ │ │ ├── block.block.bartik_page_title.yml
│ │ │ │ ├── field.storage.node.body.yml
│ │ │ │ ├── block.block.bartik_local_actions.yml
│ │ │ │ ├── block.block.seven_local_actions.yml
│ │ │ │ ├── block.block.seven_login.yml
│ │ │ │ ├── block.block.adminimal_theme_help.yml
│ │ │ │ ├── block.block.bartik_search.yml
│ │ │ │ ├── block.block.seven_content.yml
│ │ │ │ ├── block.block.adminimal_theme_page_title.yml
│ │ │ │ ├── block.block.bartik_content.yml
│ │ │ │ ├── field.storage.comment.comment_body.yml
│ │ │ │ ├── block.block.bartik_local_tasks.yml
│ │ │ │ ├── field.storage.node.comment.yml
│ │ │ │ ├── block.block.bartik_messages.yml
│ │ │ │ ├── block.block.seven_breadcrumbs.yml
│ │ │ │ ├── block.block.seven_messages.yml
│ │ │ │ ├── field.storage.block_content.body.yml
│ │ │ │ ├── user.role.authenticated.yml
│ │ │ │ ├── block.block.bartik_breadcrumbs.yml
│ │ │ │ ├── block.block.mainnavigation.yml
│ │ │ │ ├── block.block.bartik_powered.yml
│ │ │ │ ├── rdf.mapping.taxonomy_term.tags.yml
│ │ │ │ ├── block.block.adminimal_theme_local_actions.yml
│ │ │ │ ├── block.block.adminimal_theme_login.yml
│ │ │ │ ├── block.block.seven_primary_local_tasks.yml
│ │ │ │ ├── field.storage.node.field_tags.yml
│ │ │ │ ├── user.settings.yml
│ │ │ │ ├── block.block.adminimal_theme_content.yml
│ │ │ │ ├── block.block.seven_secondary_local_tasks.yml
│ │ │ │ ├── block.block.adminimal_theme_breadcrumbs.yml
│ │ │ │ ├── block.block.adminimal_theme_messages.yml
│ │ │ │ ├── block.block.adminimal_theme_primary_local_tasks.yml
│ │ │ │ ├── field.field.node.page.body.yml
│ │ │ │ ├── field.field.node.post.body.yml
│ │ │ │ ├── block.block.adminimal_theme_secondary_local_tasks.yml
│ │ │ │ ├── core.base_field_override.node.page.promote.yml
│ │ │ │ ├── core.base_field_override.node.post.promote.yml
│ │ │ │ ├── field.field.node.article.body.yml
│ │ │ │ ├── system.performance.yml
│ │ │ │ ├── block.block.bartik_tools.yml
│ │ │ │ ├── block.block.bartik_branding.yml
│ │ │ │ ├── block.block.bartik_footer.yml
│ │ │ │ ├── block.block.bartik_main_menu.yml
│ │ │ │ ├── field.field.comment.comment.comment_body.yml
│ │ │ │ ├── core.entity_view_display.block_content.basic.default.yml
│ │ │ │ ├── core.entity_view_display.node.page.default.yml
│ │ │ │ ├── block.block.bartik_account_menu.yml
│ │ │ │ ├── field.field.block_content.basic.body.yml
│ │ │ │ ├── core.entity_view_display.comment.comment.default.yml
│ │ │ │ ├── core.entity_view_display.node.page.teaser.yml
│ │ │ │ ├── core.entity_view_display.user.user.default.yml
│ │ │ │ ├── filter.format.plain_text.yml
│ │ │ │ ├── core.entity_view_display.node.article.rss.yml
│ │ │ │ ├── core.entity_view_display.user.user.compact.yml
│ │ │ │ ├── core.entity_view_display.node.post.teaser.yml
│ │ │ │ ├── .htaccess
│ │ │ │ ├── migrate_plus.migration.post.yml
│ │ │ │ ├── field.storage.node.field_image.yml
│ │ │ │ ├── field.storage.user.user_picture.yml
│ │ │ │ ├── core.entity_form_display.user.user.default.yml
│ │ │ │ ├── core.entity_form_display.comment.comment.default.yml
│ │ │ │ ├── field.field.node.post.comment.yml
│ │ │ │ ├── core.entity_form_display.block_content.basic.default.yml
│ │ │ │ ├── core.entity_view_display.node.post.default.yml
│ │ │ │ ├── field.field.node.article.comment.yml
│ │ │ │ ├── field.field.node.article.field_tags.yml
│ │ │ │ ├── migrate_plus.migration.page_node.yml
│ │ │ │ ├── filter.format.full_html.yml
│ │ │ │ ├── filter.format.restricted_html.yml
│ │ │ │ ├── rdf.mapping.comment.comment.yml
│ │ │ │ ├── views.settings.yml
│ │ │ │ ├── field.field.node.article.field_image.yml
│ │ │ │ ├── field.field.user.user.user_picture.yml
│ │ │ │ ├── migrate_plus.migration.comment.yml
│ │ │ │ ├── rdf.mapping.node.page.yml
│ │ │ │ ├── editor.editor.basic_html.yml
│ │ │ │ ├── core.extension.yml
│ │ │ │ ├── core.entity_view_display.node.article.teaser.yml
│ │ │ │ ├── migrate_plus.migration.menu_item.yml
│ │ │ │ ├── filter.format.basic_html.yml
│ │ │ │ ├── rdf.mapping.node.article.yml
│ │ │ │ ├── core.entity_view_display.node.article.default.yml
│ │ │ │ ├── editor.editor.full_html.yml
│ │ │ │ ├── core.entity_form_display.node.page.default.yml
│ │ │ │ ├── core.entity_form_display.node.post.default.yml
│ │ │ │ ├── core.entity_form_display.node.article.default.yml
│ │ │ │ ├── features.bundle.default.yml
│ │ │ │ ├── tour.tour.views-ui.yml
│ │ │ │ ├── user.mail.yml
│ │ │ │ ├── views.view.who_s_new.yml
│ │ │ │ └── views.view.who_s_online.yml
│ │ ├── settings.local.php
│ │ ├── services.yml
│ │ └── default.services.yml
│ ├── development.services.yml
│ ├── example.sites.php
│ └── example.settings.local.php
├── .eslintignore
├── php.exe.stackdump
├── .editorconfig
├── autoload.php
├── index.php
├── update.php
├── .csslintrc
├── robots.txt
├── .gitattributes
└── web.config
├── drush
└── README.md
├── .gitignore
├── phpunit.xml.dist
├── .travis.yml
├── README.md
├── scripts
└── composer
│ └── ScriptHandler.php
└── composer.json
/web/modules/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/web/profiles/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/web/themes/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/web/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./core/.eslintrc"
3 | }
4 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_posts/migrate_posts.features.yml:
--------------------------------------------------------------------------------
1 | required: true
2 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/seven.settings.yml:
--------------------------------------------------------------------------------
1 | third_party_settings:
2 | shortcut:
3 | module_link: true
4 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.image.yml:
--------------------------------------------------------------------------------
1 | toolkit: gd
2 | _core:
3 | default_config_hash: durWHaKeBaq4d9Wpi4RqwADj1OufDepcnJuhVLmKN24
4 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/dblog.settings.yml:
--------------------------------------------------------------------------------
1 | row_limit: 1000
2 | _core:
3 | default_config_hash: e883aGsrt1wFrsydlYU584PZONCSfRy0DtkZ9KzHb58
4 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/field.settings.yml:
--------------------------------------------------------------------------------
1 | purge_batch_size: 50
2 | _core:
3 | default_config_hash: nJk0TAQBzlNo52ehiHI7bIEPLGi0BYqZvPdEn7Chfu0
4 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/node.settings.yml:
--------------------------------------------------------------------------------
1 | use_admin_theme: true
2 | _core:
3 | default_config_hash: 2OMXCScXUOLSYID9-phjO4q36nnnaMWNUlDxEqZzG1U
4 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.image.gd.yml:
--------------------------------------------------------------------------------
1 | jpeg_quality: 75
2 | _core:
3 | default_config_hash: eNXaHfkJJUThHeF0nvkoXyPLRrKYGxgHRjORvT4F5rQ
4 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.logging.yml:
--------------------------------------------------------------------------------
1 | error_level: hide
2 | _core:
3 | default_config_hash: u3-njszl92FaxjrCMiq0yDcjAfcdx72w1zT1O9dx6aA
4 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/automated_cron.settings.yml:
--------------------------------------------------------------------------------
1 | interval: 10800
2 | _core:
3 | default_config_hash: fUksROt4FfkAU9BV4hV2XvhTBSS2nTNrZS4U7S-tKrs
4 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/field_ui.settings.yml:
--------------------------------------------------------------------------------
1 | field_prefix: field_
2 | _core:
3 | default_config_hash: Q1nMi90W6YQxKzZAgJQw7Ag9U4JrsEUwkomF0lhvbIM
4 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.authorize.yml:
--------------------------------------------------------------------------------
1 | filetransfer_default: null
2 | _core:
3 | default_config_hash: z63ds8M4zPrylEgFRkRcOlfcsXWwfITzjD4cj1kRdfg
4 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.theme.yml:
--------------------------------------------------------------------------------
1 | admin: seven
2 | default: bartik
3 | _core:
4 | default_config_hash: fOjer9hADYYnbCJVZMFZIIM1azTFWyg84ZkFDHfAbUg
5 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/text.settings.yml:
--------------------------------------------------------------------------------
1 | default_summary_length: 600
2 | _core:
3 | default_config_hash: Bkewb77RBOK3_aXMPsp8p87gbc03NvmC5gBLzPl7hVA
4 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/menu_ui.settings.yml:
--------------------------------------------------------------------------------
1 | override_parent_selector: false
2 | _core:
3 | default_config_hash: SqMarzIjxC3F8dZo9FEOxfqDKD_sdW1tbcFTV1BA2zU
4 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.mail.yml:
--------------------------------------------------------------------------------
1 | interface:
2 | default: php_mail
3 | _core:
4 | default_config_hash: rYgt7uhPafP2ngaN_ZUPFuyI4KdE0zU868zLNSlzKoE
5 |
--------------------------------------------------------------------------------
/drush/README.md:
--------------------------------------------------------------------------------
1 | This directory contains commands, configuration and site aliases for Drush. See http://packages.drush.org/ for a directory of Drush commands installable via Composer.
2 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/config_devel.settings.yml:
--------------------------------------------------------------------------------
1 | auto_import: { }
2 | auto_export: { }
3 | _core:
4 | default_config_hash: W4OGMJ9g0nIliU6O4quijGqNLQuWFixbxzi1Fytx6lk
5 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/features.settings.yml:
--------------------------------------------------------------------------------
1 | export:
2 | folder: custom
3 | langcode: en
4 | _core:
5 | default_config_hash: YS8SFNy6Qff2UEsQ5zXWEj-ABeRS-jCgcHJrXHJhtJ0
6 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.diff.yml:
--------------------------------------------------------------------------------
1 | context:
2 | lines_leading: 2
3 | lines_trailing: 2
4 | _core:
5 | default_config_hash: 1WanmaEhxW_vM8_5Ktsdntj8MaO9UBHXg0lN603PsWM
6 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/filter.settings.yml:
--------------------------------------------------------------------------------
1 | fallback_format: plain_text
2 | always_show_fallback_choice: false
3 | _core:
4 | default_config_hash: FiPjM3WdB__ruFA7B6TLwni_UcZbmek5G4b2dxQItxA
5 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.cron.yml:
--------------------------------------------------------------------------------
1 | threshold:
2 | requirements_warning: 172800
3 | requirements_error: 1209600
4 | _core:
5 | default_config_hash: 05U0n1_8zHYzxEFSWjyHCWuJyhdez2a6Z_aTIXin04E
6 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/taxonomy.settings.yml:
--------------------------------------------------------------------------------
1 | maintain_index_table: true
2 | override_selector: false
3 | terms_per_page_admin: 100
4 | _core:
5 | default_config_hash: zKpaWT6cJc1tVQQaTqatGELaCqU_oyRym6zTl27Yias
6 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/user.flood.yml:
--------------------------------------------------------------------------------
1 | uid_only: false
2 | ip_limit: 50
3 | ip_window: 3600
4 | user_limit: 5
5 | user_window: 21600
6 | _core:
7 | default_config_hash: UYfMzeP1S8jKm9PSvxf7nQNe8DsNS-3bc2WSNNXBQWs
8 |
--------------------------------------------------------------------------------
/web/.eslintignore:
--------------------------------------------------------------------------------
1 | core/assets/vendor/**/*
2 | core/modules/locale/tests/locale_test.js
3 | vendor/**/*
4 | sites/**/files/**/*
5 | libraries/**/*
6 | sites/**/libraries/**/*
7 | profiles/**/libraries/**/*
8 | **/js_test_files/**/*
9 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.rss.yml:
--------------------------------------------------------------------------------
1 | channel:
2 | description: ''
3 | items:
4 | limit: 10
5 | view_mode: rss
6 | langcode: en
7 | _core:
8 | default_config_hash: TlH7NNk46phfxu1mSUfwg1C0YqaGsUCeD4l9JQnQlDU
9 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/contact.settings.yml:
--------------------------------------------------------------------------------
1 | default_form: feedback
2 | flood:
3 | limit: 5
4 | interval: 3600
5 | user_default_enabled: true
6 | _core:
7 | default_config_hash: U69DBeuvXuNVOC15rVNaBjDPK2fWFbo9v4takdYSSO8
8 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/file.settings.yml:
--------------------------------------------------------------------------------
1 | description:
2 | type: textfield
3 | length: 128
4 | icon:
5 | directory: core/modules/file/icons
6 | _core:
7 | default_config_hash: 8LI-1XgwLt9hYRns_7c81S632d6JhdqXKs4vDheaG6E
8 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/image.settings.yml:
--------------------------------------------------------------------------------
1 | preview_image: core/modules/image/sample.png
2 | allow_insecure_derivatives: false
3 | suppress_itok_output: false
4 | _core:
5 | default_config_hash: k-yDFHbqNfpe-Srg4sdCSqaosCl2D8uwyEY5esF8gEw
6 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.file.yml:
--------------------------------------------------------------------------------
1 | allow_insecure_uploads: false
2 | default_scheme: public
3 | path:
4 | temporary: /tmp
5 | temporary_maximum_age: 21600
6 | _core:
7 | default_config_hash: t48gCU9DzYfjb3bAOIqHLzhL0ChBlXh6_5B5Pyo9t8g
8 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.maintenance.yml:
--------------------------------------------------------------------------------
1 | message: '@site is currently under maintenance. We should be back shortly. Thank you for your patience.'
2 | langcode: en
3 | _core:
4 | default_config_hash: Z5MXifrF77GEAgx0GQ6iWT8wStjFuY8BD9OruofWTJ8
5 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/shortcut.set.default.yml:
--------------------------------------------------------------------------------
1 | uuid: d5a556f6-9b7e-414d-8a8b-4b61d8579a6b
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: U5VlGjd_SfV0Qm_EfnaynOfc549cNscFAx48JfYoMRI
7 | id: default
8 | label: Default
9 |
--------------------------------------------------------------------------------
/web/sites/development.services.yml:
--------------------------------------------------------------------------------
1 | # Local development services.
2 | #
3 | # To activate this feature, follow the instructions at the top of the
4 | # 'example.settings.local.php' file, which sits next to this file.
5 | services:
6 | cache.backend.null:
7 | class: Drupal\Core\Cache\NullBackendFactory
8 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.date.yml:
--------------------------------------------------------------------------------
1 | country:
2 | default: ''
3 | first_day: 0
4 | timezone:
5 | default: Europe/Zurich
6 | user:
7 | configurable: true
8 | warn: false
9 | default: 0
10 | _core:
11 | default_config_hash: V9UurX2GPT05NWKG9f2GWQqFG2TRG8vczidwjpy7Woo
12 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.menu.static_menu_link_overrides.yml:
--------------------------------------------------------------------------------
1 | definitions:
2 | contact__site_page:
3 | enabled: true
4 | menu_name: footer
5 | parent: ''
6 | weight: 0
7 | expanded: false
8 | _core:
9 | default_config_hash: jdY7AU0tU-QsjmiOw3W8vwpYMb-By--_MSFgbqKUTYM
10 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.date_format.html_date.yml:
--------------------------------------------------------------------------------
1 | uuid: 11a1a13e-accd-4b1b-adc4-37ced2277146
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: EOQltUQPmgc6UQ2rcJ4Xi_leCEJj5ui0TR-12duS-Tk
7 | id: html_date
8 | label: 'HTML Date'
9 | locked: true
10 | pattern: Y-m-d
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.date_format.html_month.yml:
--------------------------------------------------------------------------------
1 | uuid: a21a44d8-4d05-4001-86f0-b27e74a5715b
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: Z7KuCUwM_WdTNvLcoltuX3_8d-s-8FZkTN6KgNwF0eM
7 | id: html_month
8 | label: 'HTML Month'
9 | locked: true
10 | pattern: Y-m
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.date_format.html_week.yml:
--------------------------------------------------------------------------------
1 | uuid: b9b70169-7f1e-42bd-9b17-bb741eaf0f1c
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: wKD4WsoV_wFgv2vgI4mcAAFSIzrye17ykzdwrnApkfY
7 | id: html_week
8 | label: 'HTML Week'
9 | locked: true
10 | pattern: Y-\WW
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.date_format.html_year.yml:
--------------------------------------------------------------------------------
1 | uuid: 0f768602-f64d-4d7c-b203-93102308825e
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: OjekiQuX9RbVQ2_8jOHBL94RgYLePqX7wpfNGgcQzrk
7 | id: html_year
8 | label: 'HTML Year'
9 | locked: true
10 | pattern: 'Y'
11 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Ignore directories generated by Composer
2 | drush/contrib
3 | vendor
4 | web/core
5 | web/modules/contrib
6 | web/themes/contrib
7 | web/profiles/contrib
8 |
9 | # Ignore Drupal's file directory
10 | web/sites/default/files
11 | web/sites/default/settings.php
12 |
13 | # Ignore files generated by PhpStorm
14 | .idea
15 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.date_format.html_time.yml:
--------------------------------------------------------------------------------
1 | uuid: 3f67d54d-54d8-4671-9feb-75a79461b2c7
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: M7yqicYkU36hRy5p9drAaGBBihhUD1OyujFrAaQ93ZE
7 | id: html_time
8 | label: 'HTML Time'
9 | locked: true
10 | pattern: 'H:i:s'
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.date_format.long.yml:
--------------------------------------------------------------------------------
1 | uuid: dadfe959-e96d-4bac-a735-006fd3994c35
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: og8sWXhBuHbLMw3CoiBEZjgqSyhFBFmcbUW_wLcfNbo
7 | id: long
8 | label: 'Default long date'
9 | locked: false
10 | pattern: 'l, F j, Y - H:i'
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.date_format.short.yml:
--------------------------------------------------------------------------------
1 | uuid: 50ef54ce-69a0-4040-b455-bcda1f357c03
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: AlzeyytA8InBgxIG9H2UDJYs3CG98Zj6yRsDKmlbZwA
7 | id: short
8 | label: 'Default short date'
9 | locked: false
10 | pattern: 'm/d/Y - H:i'
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/migrate_plus.migration_group.liip.yml:
--------------------------------------------------------------------------------
1 | uuid: 7b3f0d88-b47d-4527-8a4a-8caba0dc393d
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | id: liip
6 | label: 'Liip CSV Imports'
7 | description: 'All custom imports of Liip AG'
8 | source_type: null
9 | module: null
10 | shared_configuration: null
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.menu.footer.yml:
--------------------------------------------------------------------------------
1 | uuid: 21af8b2a-2c4b-45c5-b167-7c5dd48409f7
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: 7yrlW5z9zdg2eBucB2GPqXKSMQfH9lSRSO4DbWF7AFc
7 | id: footer
8 | label: Footer
9 | description: 'Site information links'
10 | locked: true
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.menu.main.yml:
--------------------------------------------------------------------------------
1 | uuid: 1fe55615-a6d3-44e8-af3b-a1141b531516
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: Q2Ra3jfoIVk0f3SjxJX61byRQFVBAbpzYDQOiY-kno8
7 | id: main
8 | label: 'Main navigation'
9 | description: 'Site section links'
10 | locked: true
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.date_format.medium.yml:
--------------------------------------------------------------------------------
1 | uuid: 7405aa50-4240-4627-9265-874feb2acec6
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: nzL5d024NjXIX_8TlT6uFAu973lmfkmHklJC-2i9rAE
7 | id: medium
8 | label: 'Default medium date'
9 | locked: false
10 | pattern: 'D, m/d/Y - H:i'
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.menu.admin.yml:
--------------------------------------------------------------------------------
1 | uuid: d47e7e90-e223-4ce1-b987-8fb9cada307a
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: sapEi2YDGoI9yQIT_WgIV2vUdQ6DScH0V3fAyTadAL0
7 | id: admin
8 | label: Administration
9 | description: 'Administrative task links'
10 | locked: true
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/contact.form.personal.yml:
--------------------------------------------------------------------------------
1 | uuid: 909d6cd5-d4d6-4ef3-a8bc-cdfd2e531b84
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: 4w1vDIuPlVqNIiynysHZHU-9sBCpx5uiEIPlo4SW1tw
7 | id: personal
8 | label: 'Personal contact form'
9 | recipients: { }
10 | reply: ''
11 | weight: 0
12 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.date_format.fallback.yml:
--------------------------------------------------------------------------------
1 | uuid: e9d5c687-7631-4057-a8ad-4f87b9e1a276
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: 7klS5IWXrwzVaPpYZFAs6wcx8U2FF1X73OfrtTsvuvE
7 | id: fallback
8 | label: 'Fallback date format'
9 | locked: true
10 | pattern: 'D, m/d/Y - H:i'
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.menu.tools.yml:
--------------------------------------------------------------------------------
1 | uuid: dcc3fde2-9381-497a-87f6-501b4f9d7d6f
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: BCM-vV1zzRaLHN18dqAR_CuGOj8AFJvTx7BKl_8Gcxc
7 | id: tools
8 | label: Tools
9 | description: 'User tool links, often added by modules'
10 | locked: true
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.date_format.html_datetime.yml:
--------------------------------------------------------------------------------
1 | uuid: 097e1d88-ec7c-403e-b9ed-44c6e312f64b
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: jxfClwZIRXIdcvMrE--WkcZxDGUVoOIE3Sm2NRZlFuE
7 | id: html_datetime
8 | label: 'HTML Datetime'
9 | locked: true
10 | pattern: 'Y-m-d\TH:i:sO'
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.date_format.html_yearless_date.yml:
--------------------------------------------------------------------------------
1 | uuid: a7ffa0ff-8f60-4378-a2c8-7feb78f5a565
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: 5VpawMrKPEPCkoO4YpPa0TDFO2dgiIHfTziJtwlmUxc
7 | id: html_yearless_date
8 | label: 'HTML Yearless date'
9 | locked: true
10 | pattern: m-d
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/update.settings.yml:
--------------------------------------------------------------------------------
1 | check:
2 | disabled_extensions: false
3 | interval_days: 1
4 | fetch:
5 | url: ''
6 | max_attempts: 2
7 | timeout: 30
8 | notification:
9 | emails:
10 | - admin@example.com
11 | threshold: all
12 | _core:
13 | default_config_hash: 2QzULf0zovJQx3J06Y9rufzzfi-CY2CTTlEfJJh2Qyw
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/user.role.administrator.yml:
--------------------------------------------------------------------------------
1 | uuid: 6a0baacd-2ded-4dc3-9cc6-86224e1f21ee
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: Om6FEO7vZZMkPIbVvfxtdkWerQ2PvQM4sWUd6Q3ZnfI
7 | id: administrator
8 | label: Administrator
9 | weight: 2
10 | is_admin: true
11 | permissions: { }
12 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_view_mode.node.rss.yml:
--------------------------------------------------------------------------------
1 | uuid: ef40f251-870e-4a5e-b56b-22a9fc4b870d
2 | langcode: en
3 | status: false
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: vlYzr-rp2f9NMp-Qlr4sFjlqRq-90mco5-afLNGwCrU
9 | id: node.rss
10 | label: RSS
11 | targetEntityType: node
12 | cache: true
13 |
--------------------------------------------------------------------------------
/web/php.exe.stackdump:
--------------------------------------------------------------------------------
1 | Exception: STATUS_ACCESS_VIOLATION at eip=68B989E1
2 | eax=FFD41000 ebx=00286C30 ecx=00286D10 edx=00286E9E esi=FFD40FFF edi=FFD41000
3 | ebp=00000000 esp=00286B50 program=C:\Zend\babun\.babun\cygwin\bin\php.exe, pid 6532, thread main
4 | cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
5 | Stack trace:
6 | Frame Function Args
7 | End of stack trace
8 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/block_content.type.basic.yml:
--------------------------------------------------------------------------------
1 | uuid: 5e59a481-c886-4edb-80fb-3cde834eaca0
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: zglzjmYxi0G0ag9MZ02y0LSJOdpWRwJxyP_OvFojFyo
7 | id: basic
8 | label: 'Basic block'
9 | revision: 0
10 | description: 'A basic block contains a title and a body.'
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/contact.form.feedback.yml:
--------------------------------------------------------------------------------
1 | uuid: 7fb67d1f-00ed-492b-b349-e582559a56bb
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: c4zaT5cyPxuTXI6JOWt3qRtMvICT9tHB6d9a5VG-CmQ
7 | id: feedback
8 | label: 'Website feedback'
9 | recipients:
10 | - admin@example.com
11 | reply: ''
12 | weight: 0
13 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_view_mode.node.teaser.yml:
--------------------------------------------------------------------------------
1 | uuid: 25fcf611-ca16-43c8-aee0-7835ced46fbb
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: Mz9qWr1kUYK0mjRAGDsr5XS6PvtZ24en_7ndt-pyWe4
9 | id: node.teaser
10 | label: Teaser
11 | targetEntityType: node
12 | cache: true
13 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_view_mode.user.compact.yml:
--------------------------------------------------------------------------------
1 | uuid: 68a054d2-a443-44b9-8908-4030b1cc5db0
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: 71CSAr_LNPcgu6D6jI4INl1KATkahmeyUFBETAWya8g
9 | id: user.compact
10 | label: Compact
11 | targetEntityType: user
12 | cache: true
13 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.menu.account.yml:
--------------------------------------------------------------------------------
1 | uuid: 3037b46f-78bd-40b2-9da4-17b55ad9fa35
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: M_Bh81osDyUQ4wV0GgU_NdBNqkzM87sLxjaCdFj9mnw
7 | id: account
8 | label: 'User account menu'
9 | description: 'Links related to the active user account'
10 | locked: true
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/comment.type.comment.yml:
--------------------------------------------------------------------------------
1 | uuid: 8773f70e-3f66-4ae1-b942-0c2bec464950
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: bqZsN31T2n0UjcbyCpOPi9D2iO0sAOHR7FnEs9qMvaA
7 | id: comment
8 | label: 'Default comments'
9 | target_entity_type_id: node
10 | description: 'Allows commenting on content'
11 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_form_mode.user.register.yml:
--------------------------------------------------------------------------------
1 | uuid: f47670af-8b51-4e3b-8300-b90af2099494
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: flXhTcp55yLcyy7ZLOhPGKGZobZQJdkAFVWV3LseiuI
9 | id: user.register
10 | label: Register
11 | targetEntityType: user
12 | cache: true
13 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_view_mode.node.full.yml:
--------------------------------------------------------------------------------
1 | uuid: fe34ec3c-cf2d-4edc-95c6-f68eedb79085
2 | langcode: en
3 | status: false
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: ElrtInxGjZd7GaapJ5O9n-ugi2hG2IxFivtgn0tHOsk
9 | id: node.full
10 | label: 'Full content'
11 | targetEntityType: node
12 | cache: true
13 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_view_mode.user.full.yml:
--------------------------------------------------------------------------------
1 | uuid: 4c9e181e-a102-47d9-89c6-3bc35c024659
2 | langcode: en
3 | status: false
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: mQIF_foYjmnVSr9MpcD4CTaJE_FpO1AyDd_DskztGhM
9 | id: user.full
10 | label: 'User account'
11 | targetEntityType: user
12 | cache: true
13 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_view_mode.comment.full.yml:
--------------------------------------------------------------------------------
1 | uuid: d15e17f0-2c27-4134-9c30-a19227f00285
2 | langcode: en
3 | status: false
4 | dependencies:
5 | module:
6 | - comment
7 | _core:
8 | default_config_hash: K7eNlfU7NEUajz01wItywZklr2oaPgL6s1_97fmDXLA
9 | id: comment.full
10 | label: 'Full comment'
11 | targetEntityType: comment
12 | cache: true
13 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_view_mode.node.search_index.yml:
--------------------------------------------------------------------------------
1 | uuid: 10776af8-2651-4a9f-aaeb-076c4da8d6fb
2 | langcode: en
3 | status: false
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: fVFfJv_GzBRE-wpRHbfD5a3VjnhbEOXG6lvRd3uaccY
9 | id: node.search_index
10 | label: 'Search index'
11 | targetEntityType: node
12 | cache: true
13 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/search.page.user_search.yml:
--------------------------------------------------------------------------------
1 | uuid: d8bf31d0-8ef8-41f9-95e3-f4f373b0b266
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: k3aUaZXGDuhkek2TZIee0PApOPTvYZLadziekdyHA5A
9 | id: user_search
10 | label: Users
11 | path: user
12 | weight: 0
13 | plugin: user_search
14 | configuration: { }
15 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/taxonomy.vocabulary.tags.yml:
--------------------------------------------------------------------------------
1 | uuid: dd6964f1-472f-4d3c-89dd-71b6e6a91bd5
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: lO5ziR5dVI1PpEeHZsSOfQ-Y7NWihSDKW8-MMf6uoms
7 | name: Tags
8 | vid: tags
9 | description: 'Use tags to group articles on similar topics into categories.'
10 | hierarchy: 0
11 | weight: 0
12 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_posts/config/install/node.type.post.yml:
--------------------------------------------------------------------------------
1 | langcode: en
2 | status: true
3 | dependencies:
4 | module:
5 | - menu_ui
6 | third_party_settings:
7 | menu_ui:
8 | available_menus: { }
9 | parent: ''
10 | name: Post
11 | type: post
12 | description: 'Imported by JSON'
13 | help: ''
14 | new_revision: false
15 | preview_mode: 1
16 | display_submitted: false
17 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_posts/migrate_posts.info.yml:
--------------------------------------------------------------------------------
1 | type: module
2 | name: Migrate Posts
3 | description: 'Imports menu structure from a csv file'
4 | package: Migration
5 | core: 8.x
6 | dependencies:
7 | - comment
8 | - field
9 | - menu_ui
10 | - node
11 | - path
12 | - text
13 | - user
14 | - migrate
15 | - migrate_plus
16 | - migrate_source_csv
17 | version: 8.x-1.0
18 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_view_mode.block_content.full.yml:
--------------------------------------------------------------------------------
1 | uuid: db3daa31-b977-4644-b004-be68fede9244
2 | langcode: en
3 | status: false
4 | dependencies:
5 | module:
6 | - block_content
7 | _core:
8 | default_config_hash: 4tedlMuvQjDOdvHdw86_e-2Rt78aR7TGFMfOK8Ejppg
9 | id: block_content.full
10 | label: Full
11 | targetEntityType: block_content
12 | cache: true
13 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.node_save_action.yml:
--------------------------------------------------------------------------------
1 | uuid: aa9260fb-3489-450a-8221-52590b3b8e33
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: U9HspszLxcw6pZmRacFa6yDbbheyMN-We4fPbrWWHGg
9 | id: node_save_action
10 | label: 'Save content'
11 | type: node
12 | plugin: node_save_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_view_mode.node.search_result.yml:
--------------------------------------------------------------------------------
1 | uuid: ea91e393-4316-4d78-86ca-603b3416b23e
2 | langcode: en
3 | status: false
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: 6GCOQ-jP2RbdbHA5YWQ6bT8CfGbqrBYKOSC_XY4E3ZM
9 | id: node.search_result
10 | label: 'Search result highlighting input'
11 | targetEntityType: node
12 | cache: true
13 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_view_mode.taxonomy_term.full.yml:
--------------------------------------------------------------------------------
1 | uuid: 5c5fbe46-be4b-4757-a416-14a68baabc94
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - taxonomy
7 | _core:
8 | default_config_hash: '-PPKjsNQPvoIDjOuUAvlLocYD976MNjb9Zpgyz5_BWE'
9 | id: taxonomy_term.full
10 | label: 'Taxonomy term page'
11 | targetEntityType: taxonomy_term
12 | cache: true
13 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.node_delete_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 7e0f5583-7755-496e-9f43-d6601828a1d4
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: Zx0jD1Klh5tZaGJy8uOeR_2MCu9FDM4xg7TaUJUEbkI
9 | id: node_delete_action
10 | label: 'Delete content'
11 | type: node
12 | plugin: node_delete_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/search.page.node_search.yml:
--------------------------------------------------------------------------------
1 | uuid: 0445e93c-3ea6-4f9e-860b-a7fb5f5a7f93
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: 97tvtzGOa8_flb22CzSjgtm_YkiGMHvEBO-6q2K9V_U
9 | id: node_search
10 | label: Content
11 | path: node
12 | weight: -10
13 | plugin: node_search
14 | configuration:
15 | rankings: { }
16 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.node_publish_action.yml:
--------------------------------------------------------------------------------
1 | uuid: bd5575c2-3834-4681-a016-c8af9ef2c2b7
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: lsQkbo4njZ-Q_oGKCPGXGWFjWF1I7QpgA6m-t9rcRoA
9 | id: node_publish_action
10 | label: 'Publish content'
11 | type: node
12 | plugin: node_publish_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.site.yml:
--------------------------------------------------------------------------------
1 | uuid: 81beb126-f8fa-4445-9d71-08864f660ee6
2 | name: 'Drupal 8 Migrate'
3 | mail: admin@example.com
4 | slogan: ''
5 | page:
6 | 403: ''
7 | 404: ''
8 | front: /node
9 | admin_compact_mode: false
10 | weight_select_max: 100
11 | langcode: en
12 | default_langcode: en
13 | _core:
14 | default_config_hash: yXadRE77Va-G6dxhd2kPYapAvbnSvTF6hO4oXiOEynI
15 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.comment_save_action.yml:
--------------------------------------------------------------------------------
1 | uuid: b1e24c43-6aa0-4459-a360-cbebcc293c70
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - comment
7 | _core:
8 | default_config_hash: TSkg_gUZvk-39yXFrIFnKjsxuEzO0qBH82TdDxOMMr4
9 | id: comment_save_action
10 | label: 'Save comment'
11 | type: comment
12 | plugin: comment_save_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_json_hackday/migrate_json_hackday.info.yml:
--------------------------------------------------------------------------------
1 | type: module
2 | name: Migrate Menu
3 | description: 'Imports menu structure from a csv file'
4 | package: Migration
5 | core: 8.x
6 | dependencies:
7 | - migrate
8 | - migrate_plus
9 | - migrate_source_json
10 | - migrate_posts
11 | config_devel:
12 | install:
13 | - migrate_plus.migration.post
14 | - migrate_plus.migration.comment
15 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.node_unpublish_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 14df01c8-10d2-496b-aa0e-3f5230810094
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: gGQXiSspwGl0lyOS6w_HCPpvGAPDciqDNLFwWOydVtI
9 | id: node_unpublish_action
10 | label: 'Unpublish content'
11 | type: node
12 | plugin: node_unpublish_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.comment_publish_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 058fcc35-ecfe-4bf7-b0b7-27d1e769bfc5
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - comment
7 | _core:
8 | default_config_hash: f6w_Pd30AyyDIoMkD4QpPMM2-I8FTEHICchFVOpjiCI
9 | id: comment_publish_action
10 | label: 'Publish comment'
11 | type: comment
12 | plugin: comment_publish_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.node_make_sticky_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 5bc9c3ed-1fdc-43a2-b842-3009816c2773
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: sOb26JSy3fGpWkvR0WYN6_hMqj_6d1rvbvrkzp1yya0
9 | id: node_make_sticky_action
10 | label: 'Make content sticky'
11 | type: node
12 | plugin: node_make_sticky_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.node_promote_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 362556b2-ac20-4889-8da8-5cc6352c6fbd
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: N0RDBTqiK4dKoN4p4oW2j0SGWycdHyALUe9M-Ofp89U
9 | id: node_promote_action
10 | label: 'Promote content to front page'
11 | type: node
12 | plugin: node_promote_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_menu/migrate_menu.info.yml:
--------------------------------------------------------------------------------
1 | type: module
2 | name: Migrate Menu
3 | description: 'Imports menu structure from a csv file'
4 | package: Migration
5 | core: 8.x
6 | dependencies:
7 | - migrate
8 | - migrate_plus
9 | - migrate_source_csv
10 | config_devel:
11 | install:
12 | - migrate_plus.migration.page_node
13 | - migrate_plus.migration.menu_item
14 | - migrate_plus.migration_group.liip
15 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_menu/migrate_menu.install:
--------------------------------------------------------------------------------
1 | getEditable('migrate_plus.migration.page_node')->delete();
8 | \Drupal::configFactory()->getEditable('migrate_plus.migration.menu_item')->delete();
9 | \Drupal::configFactory()->getEditable('migrate_plus.migration_group.liip')->delete();
10 | }
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.node_unpromote_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 08c09d49-2cb5-46f5-8e2f-829dd02a0297
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: JBptjnfuOMtsdKygklXxoOgeOCTMtQxlkymjnnj-cC0
9 | id: node_unpromote_action
10 | label: 'Remove content from front page'
11 | type: node
12 | plugin: node_unpromote_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.user_block_user_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 981989d8-b690-448a-a408-148d8dc28c99
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: DyypzTfThX10FFQw-399qPfEbLLyrhXgQrKPVsmAoJ4
9 | id: user_block_user_action
10 | label: 'Block the selected user(s)'
11 | type: user
12 | plugin: user_block_user_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/.editorconfig:
--------------------------------------------------------------------------------
1 | # Drupal editor configuration normalization
2 | # @see http://editorconfig.org/
3 |
4 | # This is the top-most .editorconfig file; do not search in parent directories.
5 | root = true
6 |
7 | # All files.
8 | [*]
9 | end_of_line = LF
10 | indent_style = space
11 | indent_size = 2
12 | charset = utf-8
13 | trim_trailing_whitespace = true
14 | insert_final_newline = true
15 |
16 | [composer.json]
17 | indent_size = 4
18 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.comment_unpublish_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 5c02ed57-f13b-4d78-9ad2-9524d91eb2d9
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - comment
7 | _core:
8 | default_config_hash: MLin6S_PsJ7Oo480DxS46D46IM8tqFkkWOLyH7TGByI
9 | id: comment_unpublish_action
10 | label: 'Unpublish comment'
11 | type: comment
12 | plugin: comment_unpublish_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.node_make_unsticky_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 7df1cfd9-cd55-4d8c-86f5-9aaee521c101
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: lDM9mvIGAu8Sw8rt-uCO4Sr7yX5VPrDPxYcawkbKd6k
9 | id: node_make_unsticky_action
10 | label: 'Make content unsticky'
11 | type: node
12 | plugin: node_make_unsticky_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.user_unblock_user_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 0d3405c4-92bf-4ae1-8024-1e7c0bb8248e
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: SPsUXsR3Rc8d1y3gewzaAKWa1ncea_ywXX3f7LTn7k0
9 | id: user_unblock_user_action
10 | label: 'Unblock the selected user(s)'
11 | type: user
12 | plugin: user_unblock_user_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.user_cancel_user_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 1339ba72-0834-4beb-8ae5-a675df2c15a3
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: nvrL9bFilzBvm2bjO9rQnFDpBA7dBBUjShSSt6NS-DU
9 | id: user_cancel_user_action
10 | label: 'Cancel the selected user account(s)'
11 | type: user
12 | plugin: user_cancel_user_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/migrate_plus.migration_group.default.yml:
--------------------------------------------------------------------------------
1 | uuid: 685af974-b2e7-4a7e-9125-38613fefbc45
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: RX-67i9WOQCu4AWLuhoM0XhownC-0jVCL34zqNGJUdw
7 | id: default
8 | label: Default
9 | description: 'A container for any migrations not explicitly assigned to a group.'
10 | source_type: null
11 | module: null
12 | shared_configuration: null
13 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/rdf.mapping.user.user.yml:
--------------------------------------------------------------------------------
1 | uuid: ab711ae5-fd85-45b6-a9dd-f2c4a1b05e29
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: TGTlmpYAtXxjtYMFA_A0vosE2c4R5MCQwLviIA5HUM0
9 | id: user.user
10 | targetEntityType: user
11 | bundle: user
12 | types:
13 | - 'schema:Person'
14 | fieldMappings:
15 | name:
16 | properties:
17 | - 'schema:name'
18 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.theme.global.yml:
--------------------------------------------------------------------------------
1 | favicon:
2 | mimetype: image/vnd.microsoft.icon
3 | path: ''
4 | url: ''
5 | use_default: true
6 | features:
7 | comment_user_picture: true
8 | comment_user_verification: true
9 | favicon: true
10 | node_user_picture: true
11 | logo:
12 | path: ''
13 | url: ''
14 | use_default: true
15 | _core:
16 | default_config_hash: 9rAU4Pku7eMBQxauQqAgjzlcicFZ2As6zEa6zvTlCB8
17 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.user_add_role_action.administrator.yml:
--------------------------------------------------------------------------------
1 | uuid: b05649e3-ec90-4300-9d64-8582998bb558
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - user.role.administrator
7 | module:
8 | - user
9 | id: user_add_role_action.administrator
10 | label: 'Add the Administrator role to the selected users'
11 | type: user
12 | plugin: user_add_role_action
13 | configuration:
14 | rid: administrator
15 |
--------------------------------------------------------------------------------
/web/autoload.php:
--------------------------------------------------------------------------------
1 | basic pages for your static content, such as an ''About us'' page.'
10 | help: ''
11 | new_revision: false
12 | preview_mode: 1
13 | display_submitted: false
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/node.type.article.yml:
--------------------------------------------------------------------------------
1 | uuid: 41f0407c-4bbf-49c4-9ab7-723dabbaca5d
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: i4OVV5qrD7abstl4SKS8v5Ee7PuxrL548iZVSty1HRg
7 | name: Article
8 | type: article
9 | description: 'Use articles for time-sensitive content like news, press releases or blog posts.'
10 | help: ''
11 | new_revision: false
12 | preview_mode: 1
13 | display_submitted: true
14 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/system.action.user_remove_role_action.administrator.yml:
--------------------------------------------------------------------------------
1 | uuid: 547aa5f4-c159-4fb1-8f88-2746b2ad5d76
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - user.role.administrator
7 | module:
8 | - user
9 | id: user_remove_role_action.administrator
10 | label: 'Remove the Administrator role from the selected users'
11 | type: user
12 | plugin: user_remove_role_action
13 | configuration:
14 | rid: administrator
15 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/search.settings.yml:
--------------------------------------------------------------------------------
1 | and_or_limit: 7
2 | default_page: node_search
3 | index:
4 | cron_limit: 100
5 | overlap_cjk: true
6 | minimum_word_size: 3
7 | tag_weights:
8 | h1: 25
9 | h2: 18
10 | h3: 15
11 | h4: 14
12 | h5: 9
13 | h6: 6
14 | u: 3
15 | b: 3
16 | i: 3
17 | strong: 3
18 | em: 3
19 | a: 10
20 | logging: false
21 | _core:
22 | default_config_hash: hvVxL1G-ZCxaq32IZws0YsfuhvaDiQE_np-0g35KjUk
23 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/page_manager.page.node_view.yml:
--------------------------------------------------------------------------------
1 | uuid: 932d38f0-886c-483e-99b6-92aa64f1ed78
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: 1rbdWeEeBjGARzFlodw9zcw3FlX6WQD83Rsckxl9_3o
7 | id: node_view
8 | label: 'Node view'
9 | use_admin_theme: false
10 | path: '/node/{node}'
11 | access_logic: and
12 | access_conditions: { }
13 | parameters:
14 | node:
15 | machine_name: node
16 | type: 'entity:node'
17 | label: Node
18 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/user.role.anonymous.yml:
--------------------------------------------------------------------------------
1 | uuid: 2251373f-5170-45c6-aa29-8746f18d9fb5
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: j5zLMOdJBqC0bMvSdth5UebkprJB8g_2FXHqhfpJzow
7 | id: anonymous
8 | label: 'Anonymous user'
9 | weight: 0
10 | is_admin: false
11 | permissions:
12 | - 'access content'
13 | - 'use text format restricted_html'
14 | - 'access comments'
15 | - 'access site-wide contact form'
16 | - 'search content'
17 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/node.type.post.yml:
--------------------------------------------------------------------------------
1 | uuid: 626f3dbb-50c1-472c-b104-0d4d45eb0ce9
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - menu_ui
7 | third_party_settings:
8 | menu_ui:
9 | available_menus: { }
10 | parent: ''
11 | _core:
12 | default_config_hash: kMgvMCsF6OZmLwl5lo8t_uSbnAjRDjL67wxjvHpS7QA
13 | name: Post
14 | type: post
15 | description: 'Imported by JSON'
16 | help: ''
17 | new_revision: false
18 | preview_mode: 1
19 | display_submitted: false
20 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/image.style.large.yml:
--------------------------------------------------------------------------------
1 | uuid: 55526cdd-4a0e-4373-bdf5-d587e1e0c1e0
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: J2n0RpFzS0-bgSyxjs6rSdgxB1rb-bTAgqywNx_964M
7 | name: large
8 | label: 'Large (480×480)'
9 | effects:
10 | ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d:
11 | uuid: ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d
12 | id: image_scale
13 | weight: 0
14 | data:
15 | width: 480
16 | height: 480
17 | upscale: false
18 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/image.style.medium.yml:
--------------------------------------------------------------------------------
1 | uuid: b9cca73f-7643-4da7-af70-8460fbc210c9
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: Y9NmnZHQq20ASSyTNA6JnwtWrJJiSajOehGDtmUFdM0
7 | name: medium
8 | label: 'Medium (220×220)'
9 | effects:
10 | bddf0d06-42f9-4c75-a700-a33cafa25ea0:
11 | uuid: bddf0d06-42f9-4c75-a700-a33cafa25ea0
12 | id: image_scale
13 | weight: 0
14 | data:
15 | width: 220
16 | height: 220
17 | upscale: false
18 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_posts/config/install/field.field.node.post.body.yml:
--------------------------------------------------------------------------------
1 | langcode: en
2 | status: true
3 | dependencies:
4 | config:
5 | - field.storage.node.body
6 | - node.type.post
7 | module:
8 | - text
9 | id: node.post.body
10 | field_name: body
11 | entity_type: node
12 | bundle: post
13 | label: Body
14 | description: ''
15 | required: false
16 | translatable: true
17 | default_value: { }
18 | default_value_callback: ''
19 | settings:
20 | display_summary: true
21 | field_type: text_with_summary
22 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_posts/config/install/core.base_field_override.node.post.promote.yml:
--------------------------------------------------------------------------------
1 | langcode: en
2 | status: true
3 | dependencies:
4 | config:
5 | - node.type.post
6 | id: node.post.promote
7 | field_name: promote
8 | entity_type: node
9 | bundle: post
10 | label: 'Promoted to front page'
11 | description: ''
12 | required: false
13 | translatable: true
14 | default_value:
15 | -
16 | value: 0
17 | default_value_callback: ''
18 | settings:
19 | on_label: 'On'
20 | off_label: 'Off'
21 | field_type: boolean
22 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/image.style.thumbnail.yml:
--------------------------------------------------------------------------------
1 | uuid: 28f63a4c-aae5-46c9-99a8-a80e3eb03772
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: cCiWdBHgLwj5omG35lsKc4LkW4MBdmcctkVop4ol5x0
7 | name: thumbnail
8 | label: 'Thumbnail (100×100)'
9 | effects:
10 | 1cfec298-8620-4749-b100-ccb6c4500779:
11 | uuid: 1cfec298-8620-4749-b100-ccb6c4500779
12 | id: image_scale
13 | weight: 0
14 | data:
15 | width: 100
16 | height: 100
17 | upscale: false
18 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/block.block.seven_help.yml:
--------------------------------------------------------------------------------
1 | uuid: 4adf7d1f-4b4e-41c7-89b7-bf8c9becc7ca
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - help
7 | theme:
8 | - seven
9 | _core:
10 | default_config_hash: NU5A_49mwLHfs5xFzMFrZ850w9pgUolxMS9NNF3vv4c
11 | id: seven_help
12 | theme: seven
13 | region: help
14 | weight: 0
15 | provider: null
16 | plugin: help_block
17 | settings:
18 | id: help_block
19 | label: Help
20 | provider: help
21 | label_display: '0'
22 | visibility: { }
23 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/block.block.bartik_help.yml:
--------------------------------------------------------------------------------
1 | uuid: e8cfdc69-c711-494c-8636-982ddf51a14f
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - help
7 | theme:
8 | - bartik
9 | _core:
10 | default_config_hash: 8I8iACSa0sKO3k3jlvUG1ge52rfcKX7USJAQYnzuBgg
11 | id: bartik_help
12 | theme: bartik
13 | region: content
14 | weight: -8
15 | provider: null
16 | plugin: help_block
17 | settings:
18 | id: help_block
19 | label: Help
20 | provider: help
21 | label_display: '0'
22 | visibility: { }
23 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/block.block.seven_page_title.yml:
--------------------------------------------------------------------------------
1 | uuid: 8e61e21b-c41e-42d2-83ef-bdd807acac84
2 | langcode: en
3 | status: true
4 | dependencies:
5 | theme:
6 | - seven
7 | _core:
8 | default_config_hash: ZSpc3IoSaLd0PkB02nxjVPBMztIdsTdHek9SiGaqZ_c
9 | id: seven_page_title
10 | theme: seven
11 | region: header
12 | weight: -30
13 | provider: null
14 | plugin: page_title_block
15 | settings:
16 | id: page_title_block
17 | label: 'Page title'
18 | provider: core
19 | label_display: '0'
20 | visibility: { }
21 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/block.block.bartik_page_title.yml:
--------------------------------------------------------------------------------
1 | uuid: cfddb57d-87cd-4bd6-b833-d911fd64206b
2 | langcode: en
3 | status: true
4 | dependencies:
5 | theme:
6 | - bartik
7 | _core:
8 | default_config_hash: 7rR9chwXvdM2H8OYMAYx9Zj3GGlPMrZp_M3ZA4thYTk
9 | id: bartik_page_title
10 | theme: bartik
11 | region: content
12 | weight: -8
13 | provider: null
14 | plugin: page_title_block
15 | settings:
16 | id: page_title_block
17 | label: 'Page title'
18 | provider: core
19 | label_display: '0'
20 | visibility: { }
21 |
--------------------------------------------------------------------------------
/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
The requested URL "@path" was not found on this server.
' 12 | js: 13 | preprocess: true 14 | gzip: true 15 | stale_file_threshold: 2592000 16 | _core: 17 | default_config_hash: b2cssrj-lOmATIbdehfCqfCFgVR0qCdxxWhwqa2KBVQ 18 | -------------------------------------------------------------------------------- /web/update.php: -------------------------------------------------------------------------------- 1 | handle($request); 20 | $response->send(); 21 | 22 | $kernel->terminate($request, $response); 23 | -------------------------------------------------------------------------------- /web/sites/default/config_migrate/sync/block.block.bartik_tools.yml: -------------------------------------------------------------------------------- 1 | uuid: 5f997e76-e052-415e-977c-a886513cb691 2 | langcode: en 3 | status: true 4 | dependencies: 5 | config: 6 | - system.menu.tools 7 | module: 8 | - system 9 | theme: 10 | - bartik 11 | _core: 12 | default_config_hash: NeHSoqm4XFqA7_0bDmR429ZZQt3LRbZMNRJTMsFyOfI 13 | id: bartik_tools 14 | theme: bartik 15 | region: sidebar_first 16 | weight: 0 17 | provider: null 18 | plugin: 'system_menu_block:tools' 19 | settings: 20 | id: 'system_menu_block:tools' 21 | label: Tools 22 | provider: system 23 | label_display: visible 24 | level: 1 25 | depth: 0 26 | visibility: { } 27 | -------------------------------------------------------------------------------- /web/sites/default/config_migrate/sync/block.block.bartik_branding.yml: -------------------------------------------------------------------------------- 1 | uuid: 19fc9a8a-bd02-4561-9080-cc7d36414a60 2 | langcode: en 3 | status: true 4 | dependencies: 5 | module: 6 | - system 7 | theme: 8 | - bartik 9 | _core: 10 | default_config_hash: NDwadleLD3YVSbDUaakxyYZyINYtkFtOVGShfq4kWy8 11 | id: bartik_branding 12 | theme: bartik 13 | region: header 14 | weight: 0 15 | provider: null 16 | plugin: system_branding_block 17 | settings: 18 | id: system_branding_block 19 | label: 'Site branding' 20 | provider: system 21 | label_display: '0' 22 | use_site_logo: true 23 | use_site_name: true 24 | use_site_slogan: true 25 | visibility: { } 26 | -------------------------------------------------------------------------------- /web/sites/default/config_migrate/sync/block.block.bartik_footer.yml: -------------------------------------------------------------------------------- 1 | uuid: 6c3de7f7-b575-4626-b83f-af6b33570725 2 | langcode: en 3 | status: true 4 | dependencies: 5 | config: 6 | - system.menu.footer 7 | module: 8 | - system 9 | theme: 10 | - bartik 11 | _core: 12 | default_config_hash: kkISXE1LT2FJEoYnqCrCpeFB-2pmGmMxMklVk7rQcfg 13 | id: bartik_footer 14 | theme: bartik 15 | region: footer_fifth 16 | weight: 0 17 | provider: null 18 | plugin: 'system_menu_block:footer' 19 | settings: 20 | id: 'system_menu_block:footer' 21 | label: 'Footer menu' 22 | provider: system 23 | label_display: '0' 24 | level: 1 25 | depth: 0 26 | visibility: { } 27 | -------------------------------------------------------------------------------- /web/modules/custom/migrate_menu/config/install/migrate_plus.migration_group.liip.yml: -------------------------------------------------------------------------------- 1 | # A "migration group" is - surprise! - a group of migrations. It is used to 2 | # group migrations for display by our tools, and to perform operations on a 3 | # specific set of migrations. It can also be used to hold any configuration 4 | # common to those migrations, so it doesn't have to be duplicated in each one. 5 | 6 | # The machine name of the group, by which it is referenced in individual 7 | # migrations. 8 | id: liip 9 | 10 | # A human-friendly label for the group. 11 | label: Liip CSV Imports 12 | 13 | # More information about the group. 14 | description: All custom imports of Liip AG -------------------------------------------------------------------------------- /web/modules/custom/migrate_menu/src/Plugin/migrate/process/generatePath.php: -------------------------------------------------------------------------------- 1 | 3 | Require all denied 4 | 5 | 6 | # Deny all requests from Apache 2.0-2.2. 7 | -
-
-
'
18 | filter_html_help: true
19 | filter_html_nofollow: false
20 | filter_autop:
21 | id: filter_autop
22 | provider: filter
23 | status: true
24 | weight: 0
25 | settings: { }
26 | filter_url:
27 | id: filter_url
28 | provider: filter
29 | status: true
30 | weight: 0
31 | settings:
32 | filter_url_length: 72
33 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/rdf.mapping.comment.comment.yml:
--------------------------------------------------------------------------------
1 | uuid: 90e2a94d-3504-4007-9841-4dd117656d5b
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - comment.type.comment
7 | module:
8 | - comment
9 | _core:
10 | default_config_hash: uETe6XupRGKDForx2MpY0pMOEu6CzGgdCAZZOKkbgmk
11 | id: comment.comment
12 | targetEntityType: comment
13 | bundle: comment
14 | types:
15 | - 'schema:Comment'
16 | fieldMappings:
17 | subject:
18 | properties:
19 | - 'schema:name'
20 | created:
21 | properties:
22 | - 'schema:dateCreated'
23 | datatype_callback:
24 | callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
25 | changed:
26 | properties:
27 | - 'schema:dateModified'
28 | datatype_callback:
29 | callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
30 | comment_body:
31 | properties:
32 | - 'schema:text'
33 | uid:
34 | properties:
35 | - 'schema:author'
36 | mapping_type: rel
37 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/views.settings.yml:
--------------------------------------------------------------------------------
1 | display_extenders: { }
2 | skip_cache: false
3 | sql_signature: false
4 | ui:
5 | show:
6 | additional_queries: false
7 | advanced_column: false
8 | master_display: false
9 | performance_statistics: false
10 | preview_information: true
11 | sql_query:
12 | enabled: false
13 | where: above
14 | display_embed: false
15 | always_live_preview: true
16 | exposed_filter_any_label: old_any
17 | field_rewrite_elements:
18 | div: DIV
19 | span: SPAN
20 | h1: H1
21 | h2: H2
22 | h3: H3
23 | h4: H4
24 | h5: H5
25 | h6: H6
26 | p: P
27 | header: HEADER
28 | footer: FOOTER
29 | article: ARTICLE
30 | section: SECTION
31 | aside: ASIDE
32 | details: DETAILS
33 | blockquote: BLOCKQUOTE
34 | figure: FIGURE
35 | address: ADDRESS
36 | code: CODE
37 | pre: PRE
38 | var: VAR
39 | samp: SAMP
40 | kbd: KBD
41 | strong: STRONG
42 | em: EM
43 | del: DEL
44 | ins: INS
45 | q: Q
46 | s: S
47 | _core:
48 | default_config_hash: RaRd9EIcwA4u3qCSRLL8EnCicbda1kV__ASmVbyehvQ
49 |
--------------------------------------------------------------------------------
/web/.csslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "important": true,
3 | "adjoining-classes": false,
4 | "known-properties": true,
5 | "box-sizing": false,
6 | "box-model": true,
7 | "overqualified-elements": true,
8 | "display-property-grouping": true,
9 | "bulletproof-font-face": false,
10 | "compatible-vendor-prefixes": false,
11 | "regex-selectors": false,
12 | "errors": false,
13 | "duplicate-background-images": true,
14 | "duplicate-properties": true,
15 | "empty-rules": true,
16 | "selector-max-approaching": false,
17 | "gradients": false,
18 | "fallback-colors": false,
19 | "font-sizes": false,
20 | "font-faces": false,
21 | "floats": false,
22 | "star-property-hack": true,
23 | "outline-none": true,
24 | "import": true,
25 | "ids": true,
26 | "underscore-property-hack": true,
27 | "rules-count": false,
28 | "qualified-headings": true,
29 | "selector-max": false,
30 | "shorthand": true,
31 | "text-indent": true,
32 | "unique-headings": true,
33 | "universal-selector": false,
34 | "unqualified-attributes": true,
35 | "vendor-prefix": true,
36 | "zero-units": true
37 | }
38 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/field.field.node.article.field_image.yml:
--------------------------------------------------------------------------------
1 | uuid: b295840c-3797-4f37-b3de-0e0b42de473e
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - field.storage.node.field_image
7 | - node.type.article
8 | module:
9 | - image
10 | _core:
11 | default_config_hash: tgJzhA7Swh4M_gWU5FwFe5lPxPj5rebpMbvhpdNrERs
12 | id: node.article.field_image
13 | field_name: field_image
14 | entity_type: node
15 | bundle: article
16 | label: Image
17 | description: ''
18 | required: false
19 | translatable: true
20 | default_value: { }
21 | default_value_callback: ''
22 | settings:
23 | file_directory: '[date:custom:Y]-[date:custom:m]'
24 | file_extensions: 'png gif jpg jpeg'
25 | max_filesize: ''
26 | max_resolution: ''
27 | min_resolution: ''
28 | alt_field: true
29 | title_field: false
30 | alt_field_required: true
31 | title_field_required: false
32 | default_image:
33 | uuid: null
34 | alt: ''
35 | title: ''
36 | width: null
37 | height: null
38 | handler: 'default:file'
39 | handler_settings: { }
40 | field_type: image
41 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_json_hackday/config/install/migrate_plus.migration.comment.yml:
--------------------------------------------------------------------------------
1 | id: commment
2 | label: Comments
3 | migration_group: liip
4 | source:
5 | plugin: json_source
6 | path: 'http://jsonplaceholder.typicode.com/comments'
7 | headers:
8 | Accept: application/json
9 | identifier: id
10 | identifierDepth: 0
11 | fields:
12 | - postId
13 | - id
14 | - name
15 | - email
16 | - body
17 | destination:
18 | plugin: entity:comment
19 | process:
20 | entity_id:
21 | -
22 | plugin: migration
23 | migration: post
24 | source: postId
25 | entity_type:
26 | plugin: default_value
27 | default_value: 'node'
28 | comment_type:
29 | plugin: default_value
30 | default_value: 'comment'
31 | field_name:
32 | plugin: default_value
33 | default_value: 'comment'
34 | subject:
35 | plugin: truncate
36 | source: name
37 | uid:
38 | plugin: default_value
39 | default_value: 1
40 | name: mail
41 | mail: mail
42 | comment_body: body
43 |
44 | migration_dependencies:
45 | required:
46 | - post
47 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/field.field.user.user.user_picture.yml:
--------------------------------------------------------------------------------
1 | uuid: 66f83bd6-f9a7-4b86-9f5b-587f79a299b2
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - field.storage.user.user_picture
7 | module:
8 | - image
9 | - user
10 | _core:
11 | default_config_hash: cL7i1kgJvlJa6H00f0E_fZ2KdD1ag0ASpLts0K-KNII
12 | id: user.user.user_picture
13 | field_name: user_picture
14 | entity_type: user
15 | bundle: user
16 | label: Picture
17 | description: 'Your virtual face or picture.'
18 | required: false
19 | translatable: true
20 | default_value: { }
21 | default_value_callback: ''
22 | settings:
23 | file_extensions: 'png gif jpg jpeg'
24 | file_directory: 'pictures/[date:custom:Y]-[date:custom:m]'
25 | max_filesize: '30 KB'
26 | alt_field: false
27 | title_field: false
28 | max_resolution: 85x85
29 | min_resolution: ''
30 | default_image:
31 | uuid: null
32 | alt: ''
33 | title: ''
34 | width: null
35 | height: null
36 | alt_field_required: false
37 | title_field_required: false
38 | handler: 'default:file'
39 | handler_settings: { }
40 | field_type: image
41 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: php
2 | php:
3 | - 5.5
4 | - 5.6
5 | - 7.0
6 |
7 | sudo: false
8 |
9 | env:
10 | global:
11 | - SIMPLETEST_DB=sqlite://tmp/site.sqlite
12 | - SIMPLETEST_BASE_URL="http://127.0.0.1:8080"
13 | matrix:
14 | - RELEASE=stable
15 | - RELEASE=dev
16 |
17 | before_install:
18 | - echo 'sendmail_path = /bin/true' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
19 | - phpenv config-rm xdebug.ini
20 | - composer --verbose self-update
21 | - composer --version
22 |
23 | install:
24 | - composer --verbose install
25 |
26 | script:
27 | - if [[ $RELEASE = dev ]]; then composer --verbose require --no-update drupal/core:8.0.x-dev; fi;
28 | - if [[ $RELEASE = dev ]]; then composer --verbose update; fi;
29 | - cd $TRAVIS_BUILD_DIR/web
30 | - ./../vendor/bin/drush site-install --verbose --yes --db-url=sqlite://tmp/site.sqlite
31 | - ./../vendor/bin/drush runserver http://127.0.0.1:8080 &
32 | - sleep 3
33 | # Skip core/tests/Drupal/Tests/ComposerIntegrationTest.php because web/ has no composer.json
34 | - ./../vendor/bin/phpunit -c core --exclude-group Composer
35 | - ./../vendor/bin/drush
36 | - ./../vendor/bin/drupal
37 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/migrate_plus.migration.comment.yml:
--------------------------------------------------------------------------------
1 | uuid: 5f87a3ad-9898-42c8-b2bb-7456570bbf6b
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | id: comment
6 | migration_tags: null
7 | migration_group: liip
8 | label: Comments
9 | source:
10 | plugin: json_source
11 | path: 'http://jsonplaceholder.typicode.com/comments'
12 | headers:
13 | Accept: application/json
14 | identifier: id
15 | identifierDepth: 0
16 | fields:
17 | - postId
18 | - id
19 | - name
20 | - email
21 | - body
22 | process:
23 | entity_id:
24 | -
25 | plugin: migration
26 | migration: post
27 | source: postId
28 | entity_type:
29 | plugin: default_value
30 | default_value: node
31 | comment_type:
32 | plugin: default_value
33 | default_value: comment
34 | field_name:
35 | plugin: default_value
36 | default_value: comment
37 | subject:
38 | plugin: truncate
39 | source: name
40 | uid:
41 | plugin: default_value
42 | default_value: 1
43 | name: mail
44 | mail: mail
45 | comment_body: body
46 | destination:
47 | plugin: 'entity:comment'
48 | migration_dependencies:
49 | required:
50 | - post
51 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_menu/config/install/migrate_plus.migration.page_node.yml:
--------------------------------------------------------------------------------
1 | # Migration configuration
2 | id: page_node
3 | label: Dummy pages
4 | migration_group: liip
5 | source:
6 | plugin: page_node
7 | # Full path to the file. Is overriden in my plugin
8 | path: public://csv/navigation_small.csv
9 | # The number of rows at the beginning which are not data.
10 | header_row_count: 1
11 | # These are the field names from the source file representing the key
12 | # uniquely identifying each node - they will be stored in the migration
13 | # map table as columns sourceid1, sourceid2, and sourceid3.
14 | keys:
15 | - ID
16 | destination:
17 | plugin: entity:node
18 | process:
19 | type:
20 | plugin: default_value
21 | default_value: page
22 | title: name
23 | uid:
24 | plugin: default_value
25 | default_value: 1
26 | sticky:
27 | plugin: default_value
28 | default_value: 0
29 | status:
30 | plugin: default_value
31 | default_value: 1
32 | promote:
33 | plugin: default_value
34 | default_value: 0
35 | 'body/value': body
36 | 'body/summary': excerpt
37 |
38 | #Absolutely necessary if you dont want an error
39 | migration_dependencies: {}
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/rdf.mapping.node.page.yml:
--------------------------------------------------------------------------------
1 | uuid: 52a55c7f-9ee5-432a-b7dc-12a5f42cb609
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - node.type.page
7 | module:
8 | - node
9 | _core:
10 | default_config_hash: 32LxRnl4Wesvzqyfp7HnD0-U9-wxrLBn76pqY5XGNAE
11 | id: node.page
12 | targetEntityType: node
13 | bundle: page
14 | types:
15 | - 'schema:WebPage'
16 | fieldMappings:
17 | title:
18 | properties:
19 | - 'schema:name'
20 | created:
21 | properties:
22 | - 'schema:dateCreated'
23 | datatype_callback:
24 | callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
25 | changed:
26 | properties:
27 | - 'schema:dateModified'
28 | datatype_callback:
29 | callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
30 | body:
31 | properties:
32 | - 'schema:text'
33 | uid:
34 | properties:
35 | - 'schema:author'
36 | mapping_type: rel
37 | comment_count:
38 | properties:
39 | - 'schema:interactionCount'
40 | datatype_callback:
41 | callable: 'Drupal\rdf\SchemaOrgDataConverter::interactionCount'
42 | arguments:
43 | interaction_type: UserComments
44 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/editor.editor.basic_html.yml:
--------------------------------------------------------------------------------
1 | uuid: 207b8dc8-0736-461b-8479-24ceab1a5f5a
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - filter.format.basic_html
7 | module:
8 | - ckeditor
9 | _core:
10 | default_config_hash: AqlPmO16LvJI4D0Ih6u4GFQIzqr5OnLgAUSjcUGWk2g
11 | format: basic_html
12 | editor: ckeditor
13 | settings:
14 | toolbar:
15 | rows:
16 | -
17 | -
18 | name: Formatting
19 | items:
20 | - Bold
21 | - Italic
22 | -
23 | name: Linking
24 | items:
25 | - DrupalLink
26 | - DrupalUnlink
27 | -
28 | name: Lists
29 | items:
30 | - BulletedList
31 | - NumberedList
32 | -
33 | name: Media
34 | items:
35 | - Blockquote
36 | - DrupalImage
37 | -
38 | name: 'Block Formatting'
39 | items:
40 | - Format
41 | -
42 | name: Tools
43 | items:
44 | - Source
45 | plugins:
46 | stylescombo:
47 | styles: ''
48 | image_upload:
49 | status: true
50 | scheme: public
51 | directory: inline-images
52 | max_size: ''
53 | max_dimensions:
54 | width: 0
55 | height: 0
56 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.extension.yml:
--------------------------------------------------------------------------------
1 | module:
2 | admin_toolbar: 0
3 | automated_cron: 0
4 | block: 0
5 | block_content: 0
6 | breakpoint: 0
7 | ckeditor: 0
8 | color: 0
9 | comment: 0
10 | config: 0
11 | config_devel: 0
12 | config_update: 0
13 | contact: 0
14 | contextual: 0
15 | ctools: 0
16 | datetime: 0
17 | dblog: 0
18 | dynamic_page_cache: 0
19 | editor: 0
20 | features: 0
21 | features_ui: 0
22 | field: 0
23 | field_ui: 0
24 | file: 0
25 | filter: 0
26 | help: 0
27 | history: 0
28 | image: 0
29 | link: 0
30 | menu_ui: 0
31 | migrate: 0
32 | migrate_json_hackday: 0
33 | migrate_menu: 0
34 | migrate_plus: 0
35 | migrate_posts: 0
36 | migrate_source_csv: 0
37 | migrate_source_json: 0
38 | migrate_tools: 0
39 | mycache: 0
40 | node: 0
41 | options: 0
42 | page_cache: 0
43 | page_manager: 0
44 | path: 0
45 | quickedit: 0
46 | rdf: 0
47 | search: 0
48 | shortcut: 0
49 | system: 0
50 | taxonomy: 0
51 | text: 0
52 | toolbar: 0
53 | tour: 0
54 | update: 0
55 | user: 0
56 | views_ui: 0
57 | menu_link_content: 1
58 | views: 10
59 | standard: 1000
60 | theme:
61 | stable: 0
62 | classy: 0
63 | bartik: 0
64 | seven: 0
65 | adminimal_theme: 0
66 | _core:
67 | default_config_hash: m2GVq11UAOVuNgj8x0t5fMOPujpvQQ_zxLoaly1BMEU
68 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_view_display.node.article.teaser.yml:
--------------------------------------------------------------------------------
1 | uuid: 21aa73de-f2e9-4e42-8758-b32ad4e82bf2
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - core.entity_view_mode.node.teaser
7 | - field.field.node.article.body
8 | - field.field.node.article.comment
9 | - field.field.node.article.field_image
10 | - field.field.node.article.field_tags
11 | - image.style.medium
12 | - node.type.article
13 | module:
14 | - image
15 | - text
16 | - user
17 | _core:
18 | default_config_hash: U8ghxJXn8JE2p6Q2wLpPWAxpz4r_8crL1LxtapSrHAE
19 | id: node.article.teaser
20 | targetEntityType: node
21 | bundle: article
22 | mode: teaser
23 | content:
24 | body:
25 | type: text_summary_or_trimmed
26 | weight: 0
27 | settings:
28 | trim_length: 600
29 | third_party_settings: { }
30 | label: hidden
31 | field_image:
32 | type: image
33 | weight: -1
34 | settings:
35 | image_style: medium
36 | image_link: content
37 | third_party_settings: { }
38 | label: hidden
39 | field_tags:
40 | type: entity_reference_label
41 | weight: 10
42 | settings:
43 | link: true
44 | third_party_settings: { }
45 | label: above
46 | links:
47 | weight: 100
48 | hidden:
49 | comment: true
50 | field_image: true
51 | field_tags: true
52 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/migrate_plus.migration.menu_item.yml:
--------------------------------------------------------------------------------
1 | uuid: b028e443-e006-4127-8979-93395f9be291
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | id: menu_item
6 | migration_tags: null
7 | migration_group: liip
8 | label: 'Menu links'
9 | source:
10 | plugin: menu_item
11 | path: 'public://csv/navigation_small.csv'
12 | header_row_count: 1
13 | keys:
14 | - ID
15 | process:
16 | bundle: menu_link_content
17 | title: name
18 | menu_name:
19 | plugin: default_value
20 | default_value: main
21 | link/uri:
22 | -
23 | plugin: migration
24 | migration: page_node
25 | source: ID
26 | -
27 | plugin: generate_path
28 | route_name: '@route/route_name'
29 | route_parameters: '@route/route_parameters'
30 | url: '@route/url'
31 | options: '@route/options'
32 | external:
33 | plugin: default_value
34 | default_value: 0
35 | weight: ID
36 | expanded:
37 | plugin: default_value
38 | default_value: 1
39 | enabled:
40 | plugin: default_value
41 | default_value: 1
42 | parent:
43 | plugin: menu_link_parent
44 | source:
45 | - Parent_ID
46 | - '@menu_name'
47 | - parent_name
48 | changed: updated
49 | destination:
50 | plugin: 'entity:menu_link_content'
51 | no_stub: true
52 | migration_dependencies:
53 | required:
54 | - page_node
55 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/filter.format.basic_html.yml:
--------------------------------------------------------------------------------
1 | uuid: 8d7f337d-2b9c-4639-b055-c93758d5092d
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - editor
7 | _core:
8 | default_config_hash: P8ddpAIKtawJDi5SzOwCzVnnNYqONewSTJ6Xn0dW_aQ
9 | name: 'Basic HTML'
10 | format: basic_html
11 | weight: 0
12 | filters:
13 | filter_html:
14 | id: filter_html
15 | provider: filter
16 | status: true
17 | weight: -10
18 | settings:
19 | allowed_html: ' -
-
-
'
20 | filter_html_help: false
21 | filter_html_nofollow: false
22 | filter_align:
23 | id: filter_align
24 | provider: filter
25 | status: true
26 | weight: 7
27 | settings: { }
28 | filter_caption:
29 | id: filter_caption
30 | provider: filter
31 | status: true
32 | weight: 8
33 | settings: { }
34 | filter_html_image_secure:
35 | id: filter_html_image_secure
36 | provider: filter
37 | status: true
38 | weight: 9
39 | settings: { }
40 | editor_file_reference:
41 | id: editor_file_reference
42 | provider: editor
43 | status: true
44 | weight: 11
45 | settings: { }
46 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/rdf.mapping.node.article.yml:
--------------------------------------------------------------------------------
1 | uuid: 977648e5-896e-4ab9-b067-d65978f51aa8
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - node.type.article
7 | module:
8 | - node
9 | _core:
10 | default_config_hash: IdobJe379eDudt7-bXFfJjF7pDqFl-kYxVFtpWrgkro
11 | id: node.article
12 | targetEntityType: node
13 | bundle: article
14 | types:
15 | - 'schema:Article'
16 | fieldMappings:
17 | title:
18 | properties:
19 | - 'schema:name'
20 | created:
21 | properties:
22 | - 'schema:dateCreated'
23 | datatype_callback:
24 | callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
25 | changed:
26 | properties:
27 | - 'schema:dateModified'
28 | datatype_callback:
29 | callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
30 | body:
31 | properties:
32 | - 'schema:text'
33 | uid:
34 | properties:
35 | - 'schema:author'
36 | comment:
37 | properties:
38 | - 'schema:comment'
39 | mapping_type: rel
40 | comment_count:
41 | properties:
42 | - 'schema:interactionCount'
43 | datatype_callback:
44 | callable: 'Drupal\rdf\SchemaOrgDataConverter::interactionCount'
45 | arguments:
46 | interaction_type: UserComments
47 | field_image:
48 | properties:
49 | - 'schema:image'
50 | field_tags:
51 | properties:
52 | - 'schema:about'
53 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_menu/src/Plugin/migrate/source/PageNode.php:
--------------------------------------------------------------------------------
1 | configuration['path'] = drupal_get_path('module', 'migrate_menu') . '/data/navigation.csv';
28 | $this->configuration['delimiter'] = ';';
29 |
30 | }
31 |
32 | /**
33 | * {@inheritdoc}
34 | */
35 | public function prepareRow(Row $row) {
36 |
37 | // Magic: get the current page name.
38 | $csv_data = $row->getSource();
39 | for ($i = 4; $i > 0; $i--) {
40 | if (!empty($csv_data['Level_' . $i])) {
41 | $row->setSourceProperty('name', $csv_data['Level_' . $i]);
42 | break;
43 | }
44 | }
45 |
46 | return parent::prepareRow($row);
47 | }
48 |
49 | }
50 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_view_display.node.article.default.yml:
--------------------------------------------------------------------------------
1 | uuid: d8d67f2c-12ab-476d-87d3-dee74932fc00
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - field.field.node.article.body
7 | - field.field.node.article.comment
8 | - field.field.node.article.field_image
9 | - field.field.node.article.field_tags
10 | - image.style.large
11 | - node.type.article
12 | module:
13 | - comment
14 | - image
15 | - text
16 | - user
17 | _core:
18 | default_config_hash: JtAg_-waIt1quMtdDtHIaXJMxvTuSmxW7bWyO6Zd68E
19 | id: node.article.default
20 | targetEntityType: node
21 | bundle: article
22 | mode: default
23 | content:
24 | body:
25 | type: text_default
26 | weight: 0
27 | settings: { }
28 | third_party_settings: { }
29 | label: hidden
30 | comment:
31 | label: above
32 | type: comment_default
33 | weight: 20
34 | settings:
35 | pager_id: 0
36 | third_party_settings: { }
37 | field_image:
38 | type: image
39 | weight: -1
40 | settings:
41 | image_style: large
42 | image_link: ''
43 | third_party_settings: { }
44 | label: hidden
45 | field_tags:
46 | type: entity_reference_label
47 | weight: 10
48 | label: above
49 | settings:
50 | link: true
51 | third_party_settings: { }
52 | links:
53 | weight: 100
54 | hidden:
55 | field_image: true
56 | field_tags: true
57 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/editor.editor.full_html.yml:
--------------------------------------------------------------------------------
1 | uuid: 7f81498a-a9d4-458a-a6d7-d148522f5029
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - filter.format.full_html
7 | module:
8 | - ckeditor
9 | _core:
10 | default_config_hash: 967ijj7p6i7rwrYl7r08WQFeCY_c23YAh0h8u-w_CXM
11 | format: full_html
12 | editor: ckeditor
13 | settings:
14 | toolbar:
15 | rows:
16 | -
17 | -
18 | name: Formatting
19 | items:
20 | - Bold
21 | - Italic
22 | - Strike
23 | - Superscript
24 | - Subscript
25 | - '-'
26 | - RemoveFormat
27 | -
28 | name: Linking
29 | items:
30 | - DrupalLink
31 | - DrupalUnlink
32 | -
33 | name: Lists
34 | items:
35 | - BulletedList
36 | - NumberedList
37 | -
38 | name: Media
39 | items:
40 | - Blockquote
41 | - DrupalImage
42 | - Table
43 | - HorizontalRule
44 | -
45 | name: 'Block Formatting'
46 | items:
47 | - Format
48 | -
49 | name: Tools
50 | items:
51 | - ShowBlocks
52 | - Source
53 | plugins:
54 | stylescombo:
55 | styles: ''
56 | image_upload:
57 | status: true
58 | scheme: public
59 | directory: inline-images
60 | max_size: ''
61 | max_dimensions:
62 | width: 0
63 | height: 0
64 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_form_display.node.page.default.yml:
--------------------------------------------------------------------------------
1 | uuid: 6dec8cf0-ce83-42a1-8c5f-5381d1c771b2
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - field.field.node.page.body
7 | - node.type.page
8 | module:
9 | - path
10 | - text
11 | _core:
12 | default_config_hash: KSvzyFhdLuxniTsunUnUfpfMmod2l57GibtVjL8ymHM
13 | id: node.page.default
14 | targetEntityType: node
15 | bundle: page
16 | mode: default
17 | content:
18 | body:
19 | type: text_textarea_with_summary
20 | weight: 31
21 | settings:
22 | rows: 9
23 | summary_rows: 3
24 | placeholder: ''
25 | third_party_settings: { }
26 | created:
27 | type: datetime_timestamp
28 | weight: 10
29 | settings: { }
30 | third_party_settings: { }
31 | path:
32 | type: path
33 | weight: 30
34 | settings: { }
35 | third_party_settings: { }
36 | promote:
37 | type: boolean_checkbox
38 | settings:
39 | display_label: true
40 | weight: 15
41 | third_party_settings: { }
42 | sticky:
43 | type: boolean_checkbox
44 | settings:
45 | display_label: true
46 | weight: 16
47 | third_party_settings: { }
48 | title:
49 | type: string_textfield
50 | weight: -5
51 | settings:
52 | size: 60
53 | placeholder: ''
54 | third_party_settings: { }
55 | uid:
56 | type: entity_reference_autocomplete
57 | weight: 5
58 | settings:
59 | match_operator: CONTAINS
60 | size: 60
61 | placeholder: ''
62 | third_party_settings: { }
63 | hidden: { }
64 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_posts/config/install/core.entity_form_display.node.post.default.yml:
--------------------------------------------------------------------------------
1 | langcode: en
2 | status: true
3 | dependencies:
4 | config:
5 | - field.field.node.post.body
6 | - field.field.node.post.comment
7 | - node.type.post
8 | module:
9 | - comment
10 | - path
11 | - text
12 | id: node.post.default
13 | targetEntityType: node
14 | bundle: post
15 | mode: default
16 | content:
17 | body:
18 | type: text_textarea_with_summary
19 | weight: 31
20 | settings:
21 | rows: 9
22 | summary_rows: 3
23 | placeholder: ''
24 | third_party_settings: { }
25 | comment:
26 | weight: 32
27 | settings: { }
28 | third_party_settings: { }
29 | type: comment_default
30 | created:
31 | type: datetime_timestamp
32 | weight: 10
33 | settings: { }
34 | third_party_settings: { }
35 | path:
36 | type: path
37 | weight: 30
38 | settings: { }
39 | third_party_settings: { }
40 | promote:
41 | type: boolean_checkbox
42 | settings:
43 | display_label: true
44 | weight: 15
45 | third_party_settings: { }
46 | sticky:
47 | type: boolean_checkbox
48 | settings:
49 | display_label: true
50 | weight: 16
51 | third_party_settings: { }
52 | title:
53 | type: string_textfield
54 | weight: -5
55 | settings:
56 | size: 60
57 | placeholder: ''
58 | third_party_settings: { }
59 | uid:
60 | type: entity_reference_autocomplete
61 | weight: 5
62 | settings:
63 | match_operator: CONTAINS
64 | size: 60
65 | placeholder: ''
66 | third_party_settings: { }
67 | hidden: { }
68 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_menu/config/install/migrate_plus.migration.menu_item.yml:
--------------------------------------------------------------------------------
1 | # Migration configuration
2 | id: menu_item
3 | label: Menu links
4 | migration_group: liip
5 | source:
6 | plugin: menu_item
7 | # Full path to the file. Is overriden in my plugin
8 | path: public://csv/navigation_small.csv
9 | # The number of rows at the beginning which are not data.
10 | header_row_count: 1
11 | # These are the field names from the source file representing the key
12 | # uniquely identifying each node - they will be stored in the migration
13 | # map table as columns sourceid1, sourceid2, and sourceid3.
14 | keys:
15 | - ID
16 | destination:
17 | plugin: entity:menu_link_content
18 | no_stub: true
19 | process:
20 | bundle: menu_link_content
21 | title: name
22 | menu_name:
23 | plugin: default_value
24 | default_value: main
25 | # Full Pipeline: see https://www.drupal.org/node/2129651
26 | 'link/uri':
27 | -
28 | plugin: migration
29 | migration: page_node
30 | source: ID
31 | -
32 | plugin: generate_path
33 | route_name: '@route/route_name'
34 | route_parameters: '@route/route_parameters'
35 | url: '@route/url'
36 | options: '@route/options'
37 | external:
38 | plugin: default_value
39 | default_value: 0
40 | weight: ID
41 | expanded:
42 | plugin: default_value
43 | default_value: 1
44 | enabled:
45 | plugin: default_value
46 | default_value: 1
47 | parent:
48 | plugin: menu_link_parent
49 | source:
50 | - Parent_ID
51 | - '@menu_name'
52 | - parent_name
53 | changed: updated
54 | migration_dependencies:
55 | required:
56 | - page_node
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_form_display.node.post.default.yml:
--------------------------------------------------------------------------------
1 | uuid: 80666613-11ec-414c-b5f7-1405d9466aea
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - field.field.node.post.body
7 | - field.field.node.post.comment
8 | - node.type.post
9 | module:
10 | - comment
11 | - path
12 | - text
13 | _core:
14 | default_config_hash: ChfYpgpnHBZcDOgfoEjPUQhAQTiSCj8olHfNo0yfKRg
15 | id: node.post.default
16 | targetEntityType: node
17 | bundle: post
18 | mode: default
19 | content:
20 | body:
21 | type: text_textarea_with_summary
22 | weight: 31
23 | settings:
24 | rows: 9
25 | summary_rows: 3
26 | placeholder: ''
27 | third_party_settings: { }
28 | comment:
29 | weight: 32
30 | settings: { }
31 | third_party_settings: { }
32 | type: comment_default
33 | created:
34 | type: datetime_timestamp
35 | weight: 10
36 | settings: { }
37 | third_party_settings: { }
38 | path:
39 | type: path
40 | weight: 30
41 | settings: { }
42 | third_party_settings: { }
43 | promote:
44 | type: boolean_checkbox
45 | settings:
46 | display_label: true
47 | weight: 15
48 | third_party_settings: { }
49 | sticky:
50 | type: boolean_checkbox
51 | settings:
52 | display_label: true
53 | weight: 16
54 | third_party_settings: { }
55 | title:
56 | type: string_textfield
57 | weight: -5
58 | settings:
59 | size: 60
60 | placeholder: ''
61 | third_party_settings: { }
62 | uid:
63 | type: entity_reference_autocomplete
64 | weight: 5
65 | settings:
66 | match_operator: CONTAINS
67 | size: 60
68 | placeholder: ''
69 | third_party_settings: { }
70 | hidden: { }
71 |
--------------------------------------------------------------------------------
/web/robots.txt:
--------------------------------------------------------------------------------
1 | #
2 | # robots.txt
3 | #
4 | # This file is to prevent the crawling and indexing of certain parts
5 | # of your site by web crawlers and spiders run by sites like Yahoo!
6 | # and Google. By telling these "robots" where not to go on your site,
7 | # you save bandwidth and server resources.
8 | #
9 | # This file will be ignored unless it is at the root of your host:
10 | # Used: http://example.com/robots.txt
11 | # Ignored: http://example.com/site/robots.txt
12 | #
13 | # For more information about the robots.txt standard, see:
14 | # http://www.robotstxt.org/robotstxt.html
15 |
16 | User-agent: *
17 | # CSS, JS, Images
18 | Allow: /core/*.css$
19 | Allow: /core/*.css?
20 | Allow: /core/*.js$
21 | Allow: /core/*.js?
22 | Allow: /core/*.gif
23 | Allow: /core/*.jpg
24 | Allow: /core/*.jpeg
25 | Allow: /core/*.png
26 | Allow: /core/*.svg
27 | Allow: /profiles/*.css$
28 | Allow: /profiles/*.css?
29 | Allow: /profiles/*.js$
30 | Allow: /profiles/*.js?
31 | Allow: /profiles/*.gif
32 | Allow: /profiles/*.jpg
33 | Allow: /profiles/*.jpeg
34 | Allow: /profiles/*.png
35 | Allow: /profiles/*.svg
36 | # Directories
37 | Disallow: /core/
38 | Disallow: /profiles/
39 | # Files
40 | Disallow: /README.txt
41 | Disallow: /web.config
42 | # Paths (clean URLs)
43 | Disallow: /admin/
44 | Disallow: /comment/reply/
45 | Disallow: /filter/tips/
46 | Disallow: /node/add/
47 | Disallow: /search/
48 | Disallow: /user/register/
49 | Disallow: /user/password/
50 | Disallow: /user/login/
51 | Disallow: /user/logout/
52 | # Paths (no clean URLs)
53 | Disallow: /index.php/admin/
54 | Disallow: /index.php/comment/reply/
55 | Disallow: /index.php/filter/tips/
56 | Disallow: /index.php/node/add/
57 | Disallow: /index.php/search/
58 | Disallow: /index.php/user/password/
59 | Disallow: /index.php/user/register/
60 | Disallow: /index.php/user/login/
61 | Disallow: /index.php/user/logout/
62 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_menu/src/Plugin/migrate/source/MenuItem.php:
--------------------------------------------------------------------------------
1 | configuration['path'] = drupal_get_path('module', 'migrate_menu') . '/data/navigation.csv';
28 | $this->configuration['delimiter'] = ';';
29 |
30 | }
31 |
32 | /**
33 | * {@inheritdoc}
34 | */
35 | public function prepareRow(Row $row) {
36 |
37 | if (parent::prepareRow($row) === FALSE) {
38 | return FALSE;
39 | }
40 |
41 | $csv_data = $row->getSource();
42 |
43 | $row->setSourceProperty('name', '');
44 | $row->setSourceProperty('parent', '');
45 |
46 | $row->setSourceProperty('link_path', $csv_data['ID']);
47 | $row->setSourceProperty('options', array());
48 |
49 | // Super Macic function for defining parent term
50 | // This magic allows us to avoid relying on the name while finding the parent term.
51 |
52 | for ($i = 4; $i > 0; $i--) {
53 | if (!empty($csv_data['Level_' . $i])) {
54 | $row->setSourceProperty('name', $csv_data['Level_' . $i]);
55 | if ($i > 1) {
56 | $row->setSourceProperty('parent_name', $csv_data['Level_' . ($i - 1)]);
57 | }
58 | break;
59 | }
60 | }
61 | }
62 |
63 | }
64 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/core.entity_form_display.node.article.default.yml:
--------------------------------------------------------------------------------
1 | uuid: b15bac97-3443-4e0d-89a6-a9331943b324
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - field.field.node.article.body
7 | - field.field.node.article.comment
8 | - field.field.node.article.field_image
9 | - field.field.node.article.field_tags
10 | - image.style.thumbnail
11 | - node.type.article
12 | module:
13 | - comment
14 | - image
15 | - path
16 | - text
17 | _core:
18 | default_config_hash: 7CvVDwPYotAZFBa36mcpMKZOfVRRp_iGuPHpHaavI6E
19 | id: node.article.default
20 | targetEntityType: node
21 | bundle: article
22 | mode: default
23 | content:
24 | body:
25 | type: text_textarea_with_summary
26 | weight: 1
27 | settings:
28 | rows: 9
29 | summary_rows: 3
30 | placeholder: ''
31 | third_party_settings: { }
32 | comment:
33 | type: comment_default
34 | weight: 20
35 | settings: { }
36 | third_party_settings: { }
37 | created:
38 | type: datetime_timestamp
39 | weight: 10
40 | settings: { }
41 | third_party_settings: { }
42 | field_image:
43 | type: image_image
44 | weight: 4
45 | settings:
46 | progress_indicator: throbber
47 | preview_image_style: thumbnail
48 | third_party_settings: { }
49 | field_tags:
50 | type: entity_reference_autocomplete_tags
51 | weight: 3
52 | settings: { }
53 | third_party_settings: { }
54 | path:
55 | type: path
56 | weight: 30
57 | settings: { }
58 | third_party_settings: { }
59 | promote:
60 | type: boolean_checkbox
61 | settings:
62 | display_label: true
63 | weight: 15
64 | third_party_settings: { }
65 | sticky:
66 | type: boolean_checkbox
67 | settings:
68 | display_label: true
69 | weight: 16
70 | third_party_settings: { }
71 | title:
72 | type: string_textfield
73 | weight: 0
74 | settings:
75 | size: 60
76 | placeholder: ''
77 | third_party_settings: { }
78 | uid:
79 | type: entity_reference_autocomplete
80 | weight: 5
81 | settings:
82 | match_operator: CONTAINS
83 | size: 60
84 | placeholder: ''
85 | third_party_settings: { }
86 | hidden: { }
87 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## Usage
2 |
3 | - git clone the repo
4 | - run "composer install"
5 | - set up a virtual host pointing to the web folder in apache/nginx
6 |
7 | ## Set the path to the drupal configuration
8 |
9 | - in settings.php adapt the path to the config folder
10 | ```
11 | $config_directories['sync'] = 'sites/default/config_migrate/sync';
12 | ```
13 |
14 | ## Do a site install with drush
15 |
16 | Drush 8 ist required.
17 |
18 | ```
19 | drush site-install config_installer \
20 | --db-url=mysql://DBUSERNAME:DBPASSWORD@127.0.0.1/some_db \
21 | --account-mail="admin@example.com" \
22 | --account-name=admin \
23 | --account-pass=some_admin_password \
24 | --site-mail="admin@example.com" \
25 | --site-name="Site-Install"
26 | ```
27 |
28 | If you correctly set up the path in settings.php to the config folder, all settings will be imported during
29 | the site install.
30 |
31 | ## Update configuration yml
32 | Because of the CMI all yml files in the config/install directory are only imported when installing the module.
33 | This is very impractical if one want to develop new configuration files.
34 | To solve this, a module "Configuration Development" is part of this installation.
35 | It is possible to import certain yml files on every request. But unfortunatly drush commands are not supported.
36 | So we need to add this files we want to import to a new section in our module.info.yml.
37 |
38 | ```yaml
39 | config_devel:
40 | install:
41 | - migrate_plus.migration.page_node
42 | - migrate_plus.migration.menu_item
43 | - migrate_plus.migration_group.liip
44 | ```
45 |
46 | Then we can run the following commands
47 | after updating the yml file. This will import the new configuration file into CMI.
48 |
49 | ```
50 | drush cdi migrate_menu
51 | drush cr
52 | ```
53 |
54 | ## Migration tasks
55 | drush migrate-status (ms)
56 | drush migrate-import (mi)
57 |
58 | ```
59 | drush mi page_node
60 | drush mi menu_item --update
61 | ```
62 |
63 | ## Task for the Hackday:
64 | Let's write an importer for a json source, usually a rest interface.
65 |
66 | I propose we use this JSON data:
67 | http://jsonplaceholder.typicode.com/posts
68 |
69 | Import the posts into a node type "post"
70 |
71 | Then we import the comments referencing the posts.
72 | http://jsonplaceholder.typicode.com/comments
--------------------------------------------------------------------------------
/scripts/composer/ScriptHandler.php:
--------------------------------------------------------------------------------
1 | exists(static::getDrupalRoot(getcwd()) . '/autoload.php')) {
22 | \DrupalComposer\DrupalScaffold\Plugin::scaffold($event);
23 | }
24 | }
25 |
26 | public static function createRequiredFiles(Event $event) {
27 | $fs = new Filesystem();
28 | $root = static::getDrupalRoot(getcwd());
29 |
30 | $dirs = [
31 | 'modules',
32 | 'profiles',
33 | 'themes',
34 | ];
35 |
36 | // Required for unit testing
37 | foreach ($dirs as $dir) {
38 | if (!$fs->exists($root . '/'. $dir)) {
39 | $fs->mkdir($root . '/'. $dir);
40 | $fs->touch($root . '/'. $dir . '/.gitkeep');
41 | }
42 | }
43 |
44 | // Prepare the settings file for installation
45 | if (!$fs->exists($root . '/sites/default/settings.php')) {
46 | $fs->copy($root . '/sites/default/default.settings.php', $root . '/sites/default/settings.php');
47 | $fs->chmod($root . '/sites/default/settings.php', 0666);
48 | $event->getIO()->write("Create a sites/default/settings.php file with chmod 0666");
49 | }
50 |
51 | // Prepare the services file for installation
52 | if (!$fs->exists($root . '/sites/default/services.yml')) {
53 | $fs->copy($root . '/sites/default/default.services.yml', $root . '/sites/default/services.yml');
54 | $fs->chmod($root . '/sites/default/services.yml', 0666);
55 | $event->getIO()->write("Create a sites/default/services.yml file with chmod 0666");
56 | }
57 |
58 | // Create the files directory with chmod 0777
59 | if (!$fs->exists($root . '/sites/default/files')) {
60 | $oldmask = umask(0);
61 | $fs->mkdir($root . '/sites/default/files', 0777);
62 | umask($oldmask);
63 | $event->getIO()->write("Create a sites/default/files directory with chmod 0777");
64 | }
65 | }
66 |
67 | }
68 |
--------------------------------------------------------------------------------
/web/modules/custom/migrate_menu/data/navigation.csv:
--------------------------------------------------------------------------------
1 | ID;Parent_ID;Level_1;Level_2;Level_3;Level_4
2 | 1;;Firmenkunden;;;
3 | 2;1;Firmenkunden;Konten & Karten;;
4 | 3;2;Firmenkunden;Konten & Karten;Paketlösung;
5 | 4;3;Firmenkunden;Konten & Karten;Paketlösung;BUSINESSPlus-Paket
6 | 5;2;Firmenkunden;Konten & Karten;Firmenkonten;
7 | 6;5;Firmenkunden;Konten & Karten;Firmenkonten;Kontokorrent
8 | 7;5;Firmenkunden;Konten & Karten;Firmenkonten;Kontokorrent EUR/FW
9 | 8;5;Firmenkunden;Konten & Karten;Firmenkonten;Anlage F+I
10 | 9;5;Firmenkunden;Konten & Karten;Firmenkonten;Anlagekonto BVG
11 | 10;2;Firmenkunden;Konten & Karten;Immobilienkonten;
12 | 11;10;Firmenkunden;Konten & Karten;Immobilienkonten;Immobilien Verwaltungskonto
13 | 12;10;Firmenkunden;Konten & Karten;Immobilienkonten;Baukonto GU-Konto
14 | 13;10;Firmenkunden;Konten & Karten;Immobilienkonten;Mieterkautionskonto
15 | 14;2;Firmenkunden;Konten & Karten;Karten;
16 | 15;14;Firmenkunden;Konten & Karten;Karten;Maestrokarte
17 | 16;14;Firmenkunden;Konten & Karten;Karten;Mastercard
18 | 42;;Privatkunden;;;
19 | 43;42;Privatkunden;Konten & Karten;;
20 | 44;43;Privatkunden;Konten & Karten;Paketlösungen;
21 | 45;44;Privatkunden;Konten & Karten;Paketlösungen;Test-Paket
22 | 46;44;Privatkunden;Konten & Karten;Paketlösungen;Test2-Paket
23 | 47;44;Privatkunden;Konten & Karten;Paketlösungen;Test3-Paket
24 | 48;43;Privatkunden;Konten & Karten;Privatkonten;
25 | 67;42;Privatkunden;Finanzieren & Eigenheim;;
26 | 68;67;Privatkunden;Finanzieren & Eigenheim;Hypothekenangebot;
27 | 69;68;Privatkunden;Finanzieren & Eigenheim;Hypothekenangebot;Festhypothek
28 | 70;68;Privatkunden;Finanzieren & Eigenheim;Hypothekenangebot;Liborhypothek
29 | 71;68;Privatkunden;Finanzieren & Eigenheim;Hypothekenangebot;Variable Hypothek
30 | 72;68;Privatkunden;Finanzieren & Eigenheim;Hypothekenangebot;Energiespar-Hypothek
31 | 87;42;Privatkunden;Vorsorgen;;
32 | 88;87;Privatkunden;Vorsorgen;Vorsorgelösungen;
33 | 89;88;Privatkunden;Vorsorgen;Vorsorgelösungen;Konto Vorsorge 3a
34 | 90;88;Privatkunden;Vorsorgen;Vorsorgelösungen;Sparen mit Wertpapieren 3a
35 | 91;88;Privatkunden;Vorsorgen;Vorsorgelösungen;Freizügigkeitskonto
36 | 92;88;Privatkunden;Vorsorgen;Vorsorgelösungen;Freizügigkeits-Wertschriftensparen
37 | 93;87;Privatkunden;Vorsorgen;Risikoversicherung;
38 | 94;93;Privatkunden;Vorsorgen;Risikoversicherung;Swisscanto Safe
39 | 95;42;Privatkunden;Anlegen;;
--------------------------------------------------------------------------------
/web/sites/example.sites.php:
--------------------------------------------------------------------------------
1 | ..' => 'directory'. As an
24 | * example, to map https://www.drupal.org:8080/mysite/test to the configuration
25 | * directory sites/example.com, the array should be defined as:
26 | * @code
27 | * $sites = array(
28 | * '8080.www.drupal.org.mysite.test' => 'example.com',
29 | * );
30 | * @endcode
31 | * The URL, https://www.drupal.org:8080/mysite/test/, could be a symbolic link
32 | * or an Apache Alias directive that points to the Drupal root containing
33 | * index.php. An alias could also be created for a subdomain. See the
34 | * @link https://www.drupal.org/documentation/install online Drupal installation guide @endlink
35 | * for more information on setting up domains, subdomains, and subdirectories.
36 | *
37 | * The following examples look for a site configuration in sites/example.com:
38 | * @code
39 | * URL: http://dev.drupal.org
40 | * $sites['dev.drupal.org'] = 'example.com';
41 | *
42 | * URL: http://localhost/example
43 | * $sites['localhost.example'] = 'example.com';
44 | *
45 | * URL: http://localhost:8080/example
46 | * $sites['8080.localhost.example'] = 'example.com';
47 | *
48 | * URL: https://www.drupal.org:8080/mysite/test/
49 | * $sites['8080.www.drupal.org.mysite.test'] = 'example.com';
50 | * @endcode
51 | *
52 | * @see default.settings.php
53 | * @see \Drupal\Core\DrupalKernel::getSitePath()
54 | * @see https://www.drupal.org/documentation/install/multi-site
55 | */
56 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/features.bundle.default.yml:
--------------------------------------------------------------------------------
1 | uuid: b83184d8-e5ba-4e49-a252-7fd9ce6e494e
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: EPOQoBelne1vOGi0UkdmSvTyuP6iWPnWLljbbFQexqM
7 | name: Default
8 | machine_name: default
9 | description: ''
10 | assignments:
11 | base:
12 | types:
13 | config:
14 | comment_type: comment_type
15 | node_type: node_type
16 | content:
17 | user: user
18 | enabled: true
19 | weight: -2
20 | core:
21 | types:
22 | config:
23 | date_format: date_format
24 | field_storage_config: field_storage_config
25 | entity_form_mode: entity_form_mode
26 | image_style: image_style
27 | menu: menu
28 | responsive_image_style: responsive_image_style
29 | user_role: user_role
30 | entity_view_mode: entity_view_mode
31 | enabled: true
32 | weight: 5
33 | dependency:
34 | enabled: true
35 | weight: 15
36 | exclude:
37 | types:
38 | config:
39 | features_bundle: features_bundle
40 | curated: 1
41 | module:
42 | installed: 1
43 | profile: 1
44 | namespace: 1
45 | namespace_any: 0
46 | enabled: true
47 | weight: -5
48 | existing:
49 | enabled: true
50 | weight: 12
51 | forward_dependency:
52 | enabled: true
53 | weight: 4
54 | namespace:
55 | enabled: true
56 | weight: 0
57 | optional:
58 | types:
59 | config:
60 | image_style: image_style
61 | migration: migration
62 | rdf_mapping: rdf_mapping
63 | responsive_image_style: responsive_image_style
64 | search_page: search_page
65 | tour: tour
66 | view: view
67 | enabled: true
68 | weight: 0
69 | packages:
70 | enabled: true
71 | weight: -20
72 | profile:
73 | curated: 1
74 | standard:
75 | files: 1
76 | dependencies: 1
77 | types:
78 | config:
79 | block: block
80 | language_content_settings: language_content_settings
81 | configurable_language: configurable_language
82 | migration: migration
83 | shortcut_set: shortcut_set
84 | tour: tour
85 | enabled: true
86 | weight: 10
87 | site:
88 | types:
89 | config:
90 | action: action
91 | contact_form: contact_form
92 | block_content_type: block_content_type
93 | rdf_mapping: rdf_mapping
94 | search_page: search_page
95 | taxonomy_vocabulary: taxonomy_vocabulary
96 | editor: editor
97 | filter_format: filter_format
98 | enabled: true
99 | weight: 7
100 | profile_name: ''
101 | is_profile: false
102 |
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "drupal-composer/drupal-project",
3 | "description": "Project template for Drupal 8 projects with composer",
4 | "type": "project",
5 | "license": "GPL-2.0+",
6 | "authors": [
7 | {
8 | "name": "",
9 | "role": ""
10 | }
11 | ],
12 | "repositories": [
13 | {
14 | "type": "composer",
15 | "url": "https://packagist.drupal-composer.org"
16 | }
17 | ],
18 | "require": {
19 | "composer/installers": "^1.0.20",
20 | "drupal-composer/drupal-scaffold": "^1.3.1",
21 | "cweagans/composer-patches": "~1.0",
22 | "drupal/core": "~8.1",
23 | "drupal/migrate_plus": "8.2.x-dev",
24 | "drupal/migrate_source_json": "8.1.x-dev",
25 | "drupal/migrate_ui": "^8.1",
26 | "drupal/migrate_source_xml": "8.1.x-dev",
27 | "drupal/migrate_tools": "8.2.x-dev",
28 | "drupal/adminimal_theme": "^8.1",
29 | "drupal/admin_toolbar": "^8.1",
30 | "drupal/address": "^8.1@beta",
31 | "drupal/page_manager": "^8.1@alpha",
32 | "drupal/media_entity": "8.1.x-dev",
33 | "drupal/config_devel": "8.1.x-dev",
34 | "drupal/features": "8.3.0-beta3",
35 | "drupal/config_installer": "^8.1",
36 | "drupal/migrate_source_csv": "8.2.x-dev"
37 | },
38 | "require-dev": {
39 | "behat/mink": "~1.6",
40 | "behat/mink-goutte-driver": "~1.2",
41 | "jcalderonzumba/gastonjs": "^1.1@dev",
42 | "jcalderonzumba/mink-phantomjs-driver": "~0.3.1",
43 | "mikey179/vfsStream": "~1.2",
44 | "phpunit/phpunit": "~4.8",
45 | "symfony/css-selector": "2.7.*"
46 | },
47 | "conflict": {
48 | "drupal/drupal": "*"
49 | },
50 | "minimum-stability": "dev",
51 | "prefer-stable": true,
52 | "autoload": {
53 | "classmap": [
54 | "scripts/composer/ScriptHandler.php"
55 | ]
56 | },
57 | "scripts": {
58 | "drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
59 | "post-install-cmd": [
60 | "DrupalProject\\composer\\ScriptHandler::buildScaffold",
61 | "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
62 | ],
63 | "post-update-cmd": [
64 | "DrupalProject\\composer\\ScriptHandler::buildScaffold",
65 | "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
66 | ]
67 | },
68 | "extra": {
69 | "installer-paths": {
70 | "web/core": ["type:drupal-core"],
71 | "web/modules/contrib/{$name}": ["type:drupal-module"],
72 | "web/profiles/contrib/{$name}": ["type:drupal-profile"],
73 | "web/themes/contrib/{$name}": ["type:drupal-theme"],
74 | "drush/contrib/{$name}": ["type:drupal-drush"]
75 | },
76 | "patches": {
77 | "drupal/core": {
78 | "Patch for migrate": "https://www.drupal.org/files/issues/source_plugins_have_a-2560795-64.patch"
79 | },
80 | "drupal/migrate_source_json": {
81 | "Patch for 8.1": "https://www.drupal.org/files/issues/migrate_source_json-make_project_compatible-2694591-2.patch"
82 | }
83 | }
84 | }
85 | }
86 |
--------------------------------------------------------------------------------
/web/.gitattributes:
--------------------------------------------------------------------------------
1 | # Drupal git normalization
2 | # @see https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
3 | # @see https://www.drupal.org/node/1542048
4 |
5 | # Normally these settings would be done with macro attributes for improved
6 | # readability and easier maintenance. However macros can only be defined at the
7 | # repository root directory. Drupal avoids making any assumptions about where it
8 | # is installed.
9 |
10 | # Define text file attributes.
11 | # - Treat them as text.
12 | # - Ensure no CRLF line-endings, neither on checkout nor on checkin.
13 | # - Detect whitespace errors.
14 | # - Exposed by default in `git diff --color` on the CLI.
15 | # - Validate with `git diff --check`.
16 | # - Deny applying with `git apply --whitespace=error-all`.
17 | # - Fix automatically with `git apply --whitespace=fix`.
18 |
19 | # Auto-detect text files, ensure they use LF.
20 | * text=auto eol=lf
21 |
22 | *.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
23 | *.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
24 | *.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=html
25 | *.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
26 | *.info text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
27 | *.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
28 | *.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
29 | *.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
30 | *.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
31 | *.md text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
32 | *.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
33 | *.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
34 | *.po text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
35 | *.script text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
36 | *.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
37 | *.sql text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
38 | *.test text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
39 | *.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
40 | *.txt text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
41 | *.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
42 | *.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
43 |
44 | # Define binary file attributes.
45 | # - Do not treat them as text.
46 | # - Include binary diff in patches instead of "binary files differ."
47 | *.gif -text diff
48 | *.gz -text diff
49 | *.ico -text diff
50 | *.jpg -text diff
51 | *.png -text diff
52 | *.phar -text diff
53 | *.exe -text diff
54 | *.ttf -text diff
55 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/tour.tour.views-ui.yml:
--------------------------------------------------------------------------------
1 | uuid: 21acbb59-ffaa-4770-91c9-3646851bbde7
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - views_ui
7 | _core:
8 | default_config_hash: c-HMyZwgeP8H6AITDcq4hznePkd7azpe8xl_WTnx2O0
9 | id: views-ui
10 | label: 'View edit page'
11 | module: views_ui
12 | routes:
13 | -
14 | route_name: entity.view.edit_form
15 | -
16 | route_name: entity.view.edit_display_form
17 | tips:
18 | views-main:
19 | id: views-main
20 | plugin: text
21 | label: 'Manage view settings'
22 | body: 'View or edit the configuration.'
23 | weight: 1
24 | views-ui-displays:
25 | id: views-ui-displays
26 | plugin: text
27 | label: 'Displays in this view'
28 | body: 'A display is a way of outputting the results, e.g., as a page or a block. A view can contain multiple displays, which are listed here. The active display is highlighted.'
29 | weight: 2
30 | attributes:
31 | data-id: views-display-top
32 | views-ui-view-admin:
33 | id: views-ui-view-admin
34 | plugin: text
35 | label: 'View administration'
36 | body: 'Perform administrative tasks, including adding a description and creating a clone. Click the drop-down button to view the available options.'
37 | weight: 3
38 | location: left
39 | attributes:
40 | data-id: views-display-extra-actions
41 | views-ui-format:
42 | id: views-ui-format
43 | plugin: text
44 | label: 'Output format'
45 | body: 'Choose how to output results. E.g., choose Content to output each item completely, using your configured display settings. Or choose Fields, which allows you to output only specific fields for each result. Additional formats can be added by installing modules to extend Drupal''s base functionality.'
46 | weight: 4
47 | attributes:
48 | data-class: views-ui-display-tab-bucket.format
49 | views-ui-fields:
50 | id: views-ui-fields
51 | plugin: text
52 | label: Fields
53 | body: 'If this view uses fields, they are listed here. You can click on a field to configure it.'
54 | weight: 5
55 | attributes:
56 | data-class: views-ui-display-tab-bucket.field
57 | views-ui-filter:
58 | id: views-ui-filter
59 | plugin: text
60 | label: 'Filter your view'
61 | body: 'Add filters to limit the results in the output. E.g., to only show content that is published, you would add a filter for Published and select Yes.'
62 | weight: 6
63 | attributes:
64 | data-class: views-ui-display-tab-bucket.filter
65 | views-ui-filter-operations:
66 | id: views-ui-filter-operations
67 | plugin: text
68 | label: 'Filter actions'
69 | body: 'Add, rearrange or remove filters.'
70 | weight: 7
71 | attributes:
72 | data-class: 'views-ui-display-tab-bucket.filter .dropbutton-widget'
73 | views-ui-sorts:
74 | id: views-ui-sorts
75 | plugin: text
76 | label: 'Sort Criteria'
77 | body: 'Control the order in which the results are output. Click on an active sort rule to configure it.'
78 | weight: 8
79 | attributes:
80 | data-class: views-ui-display-tab-bucket.sort
81 | views-ui-sorts-operations:
82 | id: views-ui-sorts-operations
83 | plugin: text
84 | label: 'Sort actions'
85 | body: 'Add, rearrange or remove sorting rules.'
86 | weight: 9
87 | attributes:
88 | data-class: 'views-ui-display-tab-bucket.sort .dropbutton-widget'
89 | views-ui-preview:
90 | id: views-ui-preview
91 | plugin: text
92 | label: Preview
93 | body: 'Show a preview of the view output.'
94 | weight: 10
95 | location: left
96 | attributes:
97 | data-id: preview-submit
98 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/user.mail.yml:
--------------------------------------------------------------------------------
1 | cancel_confirm:
2 | body: "[user:display-name],\n\nA request to cancel your account has been made at [site:name].\n\nYou may now cancel your account on [site:url-brief] by clicking this link or copying and pasting it into your browser:\n\n[user:cancel-url]\n\nNOTE: The cancellation of your account is not reversible.\n\nThis link expires in one day and nothing will happen if it is not used.\n\n-- [site:name] team"
3 | subject: 'Account cancellation request for [user:display-name] at [site:name]'
4 | password_reset:
5 | body: "[user:display-name],\n\nA request to reset the password for your account has been made at [site:name].\n\nYou may now log in by clicking this link or copying and pasting it into your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.\n\n-- [site:name] team"
6 | subject: 'Replacement login information for [user:display-name] at [site:name]'
7 | register_admin_created:
8 | body: "[user:display-name],\n\nA site administrator at [site:name] has created an account for you. You may now log in by clicking this link or copying and pasting it into your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:name]\npassword: Your password\n\n-- [site:name] team"
9 | subject: 'An administrator created an account for you at [site:name]'
10 | register_no_approval_required:
11 | body: "[user:display-name],\n\nThank you for registering at [site:name]. You may now log in by clicking this link or copying and pasting it into your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:name]\npassword: Your password\n\n-- [site:name] team"
12 | subject: 'Account details for [user:display-name] at [site:name]'
13 | register_pending_approval:
14 | body: "[user:display-name],\n\nThank you for registering at [site:name]. Your application for an account is currently pending approval. Once it has been approved, you will receive another email containing information about how to log in, set your password, and other details.\n\n\n-- [site:name] team"
15 | subject: 'Account details for [user:display-name] at [site:name] (pending admin approval)'
16 | register_pending_approval_admin:
17 | body: "[user:display-name] has applied for an account.\n\n[user:edit-url]"
18 | subject: 'Account details for [user:display-name] at [site:name] (pending admin approval)'
19 | status_activated:
20 | body: "[user:display-name],\n\nYour account at [site:name] has been activated.\n\nYou may now log in by clicking this link or copying and pasting it into your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:account-name]\npassword: Your password\n\n-- [site:name] team"
21 | subject: 'Account details for [user:display-name] at [site:name] (approved)'
22 | status_blocked:
23 | body: "[user:display-name],\n\nYour account on [site:name] has been blocked.\n\n-- [site:name] team"
24 | subject: 'Account details for [user:display-name] at [site:name] (blocked)'
25 | status_canceled:
26 | body: "[user:display-name],\n\nYour account on [site:name] has been canceled.\n\n-- [site:name] team"
27 | subject: 'Account details for [user:display-name] at [site:name] (canceled)'
28 | langcode: en
29 | _core:
30 | default_config_hash: m4J3ROov32OEquRYGLbx3SpdDGuqx9l_zJtNvihqdCg
31 |
--------------------------------------------------------------------------------
/web/sites/default/settings.local.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
13 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
40 |
49 |
50 |
53 |
62 |
63 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/views.view.who_s_new.yml:
--------------------------------------------------------------------------------
1 | uuid: 8836af5d-3f64-464d-9f7b-efac64785b6a
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: B2M6BoNVm-hHVnH2ILCpbhCZV71T6zLNs8Ag5QH-oNE
9 | id: who_s_new
10 | label: 'Who''s new'
11 | module: user
12 | description: 'Shows a list of the newest user accounts on the site.'
13 | tag: default
14 | base_table: users_field_data
15 | base_field: uid
16 | core: 8.x
17 | display:
18 | default:
19 | display_plugin: default
20 | id: default
21 | display_title: Master
22 | position: 0
23 | display_options:
24 | access:
25 | type: perm
26 | options:
27 | perm: 'access content'
28 | cache:
29 | type: tag
30 | options: { }
31 | query:
32 | type: views_query
33 | options:
34 | disable_sql_rewrite: false
35 | distinct: false
36 | replica: false
37 | query_comment: ''
38 | query_tags: { }
39 | exposed_form:
40 | type: basic
41 | options:
42 | submit_button: Apply
43 | reset_button: false
44 | reset_button_label: Reset
45 | exposed_sorts_label: 'Sort by'
46 | expose_sort_order: true
47 | sort_asc_label: Asc
48 | sort_desc_label: Desc
49 | pager:
50 | type: some
51 | options:
52 | items_per_page: 5
53 | offset: 0
54 | style:
55 | type: html_list
56 | row:
57 | type: fields
58 | fields:
59 | name:
60 | id: name
61 | table: users_field_data
62 | field: name
63 | label: ''
64 | plugin_id: field
65 | type: user_name
66 | alter:
67 | alter_text: false
68 | make_link: false
69 | absolute: false
70 | trim: false
71 | word_boundary: false
72 | ellipsis: false
73 | strip_tags: false
74 | html: false
75 | hide_empty: false
76 | empty_zero: false
77 | relationship: none
78 | group_type: group
79 | admin_label: ''
80 | exclude: false
81 | element_type: ''
82 | element_class: ''
83 | element_label_type: ''
84 | element_label_class: ''
85 | element_label_colon: true
86 | element_wrapper_type: ''
87 | element_wrapper_class: ''
88 | element_default_classes: true
89 | empty: ''
90 | hide_alter_empty: true
91 | entity_type: user
92 | entity_field: name
93 | filters:
94 | status:
95 | value: true
96 | table: users_field_data
97 | field: status
98 | id: status
99 | expose:
100 | operator: '0'
101 | group: 1
102 | plugin_id: boolean
103 | entity_type: user
104 | entity_field: status
105 | access:
106 | id: access
107 | table: users_field_data
108 | field: access
109 | relationship: none
110 | group_type: group
111 | admin_label: ''
112 | operator: '>'
113 | value:
114 | min: ''
115 | max: ''
116 | value: '1970-01-01'
117 | type: date
118 | group: 1
119 | exposed: false
120 | expose:
121 | operator_id: '0'
122 | label: ''
123 | description: ''
124 | use_operator: false
125 | operator: ''
126 | identifier: ''
127 | required: false
128 | remember: false
129 | multiple: false
130 | remember_roles:
131 | authenticated: authenticated
132 | is_grouped: false
133 | group_info:
134 | label: ''
135 | description: ''
136 | identifier: ''
137 | optional: true
138 | widget: select
139 | multiple: false
140 | remember: false
141 | default_group: All
142 | default_group_multiple: { }
143 | group_items: { }
144 | plugin_id: date
145 | entity_type: user
146 | entity_field: access
147 | sorts:
148 | created:
149 | id: created
150 | table: users_field_data
151 | field: created
152 | relationship: none
153 | group_type: group
154 | admin_label: ''
155 | order: DESC
156 | exposed: false
157 | expose:
158 | label: ''
159 | granularity: second
160 | plugin_id: date
161 | entity_type: user
162 | entity_field: created
163 | title: 'Who''s new'
164 | header: { }
165 | footer: { }
166 | empty: { }
167 | relationships: { }
168 | arguments: { }
169 | display_extenders: { }
170 | cache_metadata:
171 | contexts:
172 | - 'languages:language_content'
173 | - 'languages:language_interface'
174 | - user.permissions
175 | max-age: -1
176 | tags: { }
177 | block_1:
178 | display_plugin: block
179 | id: block_1
180 | display_title: 'Who''s new'
181 | position: 1
182 | display_options:
183 | display_description: 'A list of new users'
184 | block_description: 'Who''s new'
185 | block_category: User
186 | display_extenders: { }
187 | cache_metadata:
188 | contexts:
189 | - 'languages:language_content'
190 | - 'languages:language_interface'
191 | - user.permissions
192 | max-age: -1
193 | tags: { }
194 |
--------------------------------------------------------------------------------
/web/sites/default/services.yml:
--------------------------------------------------------------------------------
1 | parameters:
2 | session.storage.options:
3 | # Default ini options for sessions.
4 | #
5 | # Some distributions of Linux (most notably Debian) ship their PHP
6 | # installations with garbage collection (gc) disabled. Since Drupal depends
7 | # on PHP's garbage collection for clearing sessions, ensure that garbage
8 | # collection occurs by using the most common settings.
9 | # @default 1
10 | gc_probability: 1
11 | # @default 100
12 | gc_divisor: 100
13 | #
14 | # Set session lifetime (in seconds), i.e. the time from the user's last
15 | # visit to the active session may be deleted by the session garbage
16 | # collector. When a session is deleted, authenticated users are logged out,
17 | # and the contents of the user's $_SESSION variable is discarded.
18 | # @default 200000
19 | gc_maxlifetime: 200000
20 | #
21 | # Set session cookie lifetime (in seconds), i.e. the time from the session
22 | # is created to the cookie expires, i.e. when the browser is expected to
23 | # discard the cookie. The value 0 means "until the browser is closed".
24 | # @default 2000000
25 | cookie_lifetime: 2000000
26 | #
27 | # Drupal automatically generates a unique session cookie name based on the
28 | # full domain name used to access the site. This mechanism is sufficient
29 | # for most use-cases, including multi-site deployments. However, if it is
30 | # desired that a session can be reused across different subdomains, the
31 | # cookie domain needs to be set to the shared base domain. Doing so assures
32 | # that users remain logged in as they cross between various subdomains.
33 | # To maximize compatibility and normalize the behavior across user agents,
34 | # the cookie domain should start with a dot.
35 | #
36 | # @default none
37 | # cookie_domain: '.example.com'
38 | #
39 | twig.config:
40 | # Twig debugging:
41 | #
42 | # When debugging is enabled:
43 | # - The markup of each Twig template is surrounded by HTML comments that
44 | # contain theming information, such as template file name suggestions.
45 | # - Note that this debugging markup will cause automated tests that directly
46 | # check rendered HTML to fail. When running automated tests, 'debug'
47 | # should be set to FALSE.
48 | # - The dump() function can be used in Twig templates to output information
49 | # about template variables.
50 | # - Twig templates are automatically recompiled whenever the source code
51 | # changes (see auto_reload below).
52 | #
53 | # For more information about debugging Twig templates, see
54 | # https://www.drupal.org/node/1906392.
55 | #
56 | # Not recommended in production environments
57 | # @default false
58 | debug: false
59 | # Twig auto-reload:
60 | #
61 | # Automatically recompile Twig templates whenever the source code changes.
62 | # If you don't provide a value for auto_reload, it will be determined
63 | # based on the value of debug.
64 | #
65 | # Not recommended in production environments
66 | # @default null
67 | auto_reload: null
68 | # Twig cache:
69 | #
70 | # By default, Twig templates will be compiled and stored in the filesystem
71 | # to increase performance. Disabling the Twig cache will recompile the
72 | # templates from source each time they are used. In most cases the
73 | # auto_reload setting above should be enabled rather than disabling the
74 | # Twig cache.
75 | #
76 | # Not recommended in production environments
77 | # @default true
78 | cache: true
79 | renderer.config:
80 | # Renderer required cache contexts:
81 | #
82 | # The Renderer will automatically associate these cache contexts with every
83 | # render array, hence varying every render array by these cache contexts.
84 | #
85 | # @default ['languages:language_interface', 'theme', 'user.permissions']
86 | required_cache_contexts: ['languages:language_interface', 'theme', 'user.permissions']
87 | # Renderer automatic placeholdering conditions:
88 | #
89 | # Drupal allows portions of the page to be automatically deferred when
90 | # rendering to improve cache performance. That is especially helpful for
91 | # cache contexts that vary widely, such as the active user. On some sites
92 | # those may be different, however, such as sites with only a handful of
93 | # users. If you know what the high-cardinality cache contexts are for your
94 | # site, specify those here. If you're not sure, the defaults are fairly safe
95 | # in general.
96 | #
97 | # For more information about rendering optimizations see
98 | # https://www.drupal.org/developing/api/8/render/arrays/cacheability#optimizing
99 | auto_placeholder_conditions:
100 | # Max-age at or below which caching is not considered worthwhile.
101 | #
102 | # Disable by setting to -1.
103 | #
104 | # @default 0
105 | max-age: 0
106 | # Cache contexts with a high cardinality.
107 | #
108 | # Disable by setting to [].
109 | #
110 | # @default ['session', 'user']
111 | contexts: ['session', 'user']
112 | # Tags with a high invalidation frequency.
113 | #
114 | # Disable by setting to [].
115 | #
116 | # @default []
117 | tags: []
118 | # Cacheability debugging:
119 | #
120 | # Responses with cacheability metadata (CacheableResponseInterface instances)
121 | # get X-Drupal-Cache-Tags and X-Drupal-Cache-Contexts headers.
122 | #
123 | # For more information about debugging cacheable responses, see
124 | # https://www.drupal.org/developing/api/8/response/cacheable-response-interface
125 | #
126 | # Not recommended in production environments
127 | # @default false
128 | http.response.debug_cacheability_headers: false
129 | factory.keyvalue:
130 | {}
131 | # Default key/value storage service to use.
132 | # @default keyvalue.database
133 | # default: keyvalue.database
134 | # Collection-specific overrides.
135 | # state: keyvalue.database
136 | factory.keyvalue.expirable:
137 | {}
138 | # Default key/value expirable storage service to use.
139 | # @default keyvalue.database.expirable
140 | # default: keyvalue.database.expirable
141 | # Allowed protocols for URL generation.
142 | filter_protocols:
143 | - http
144 | - https
145 | - ftp
146 | - news
147 | - nntp
148 | - tel
149 | - telnet
150 | - mailto
151 | - irc
152 | - ssh
153 | - sftp
154 | - webcal
155 | - rtsp
156 |
--------------------------------------------------------------------------------
/web/sites/default/default.services.yml:
--------------------------------------------------------------------------------
1 | parameters:
2 | session.storage.options:
3 | # Default ini options for sessions.
4 | #
5 | # Some distributions of Linux (most notably Debian) ship their PHP
6 | # installations with garbage collection (gc) disabled. Since Drupal depends
7 | # on PHP's garbage collection for clearing sessions, ensure that garbage
8 | # collection occurs by using the most common settings.
9 | # @default 1
10 | gc_probability: 1
11 | # @default 100
12 | gc_divisor: 100
13 | #
14 | # Set session lifetime (in seconds), i.e. the time from the user's last
15 | # visit to the active session may be deleted by the session garbage
16 | # collector. When a session is deleted, authenticated users are logged out,
17 | # and the contents of the user's $_SESSION variable is discarded.
18 | # @default 200000
19 | gc_maxlifetime: 200000
20 | #
21 | # Set session cookie lifetime (in seconds), i.e. the time from the session
22 | # is created to the cookie expires, i.e. when the browser is expected to
23 | # discard the cookie. The value 0 means "until the browser is closed".
24 | # @default 2000000
25 | cookie_lifetime: 2000000
26 | #
27 | # Drupal automatically generates a unique session cookie name based on the
28 | # full domain name used to access the site. This mechanism is sufficient
29 | # for most use-cases, including multi-site deployments. However, if it is
30 | # desired that a session can be reused across different subdomains, the
31 | # cookie domain needs to be set to the shared base domain. Doing so assures
32 | # that users remain logged in as they cross between various subdomains.
33 | # To maximize compatibility and normalize the behavior across user agents,
34 | # the cookie domain should start with a dot.
35 | #
36 | # @default none
37 | # cookie_domain: '.example.com'
38 | #
39 | twig.config:
40 | # Twig debugging:
41 | #
42 | # When debugging is enabled:
43 | # - The markup of each Twig template is surrounded by HTML comments that
44 | # contain theming information, such as template file name suggestions.
45 | # - Note that this debugging markup will cause automated tests that directly
46 | # check rendered HTML to fail. When running automated tests, 'debug'
47 | # should be set to FALSE.
48 | # - The dump() function can be used in Twig templates to output information
49 | # about template variables.
50 | # - Twig templates are automatically recompiled whenever the source code
51 | # changes (see auto_reload below).
52 | #
53 | # For more information about debugging Twig templates, see
54 | # https://www.drupal.org/node/1906392.
55 | #
56 | # Not recommended in production environments
57 | # @default false
58 | debug: false
59 | # Twig auto-reload:
60 | #
61 | # Automatically recompile Twig templates whenever the source code changes.
62 | # If you don't provide a value for auto_reload, it will be determined
63 | # based on the value of debug.
64 | #
65 | # Not recommended in production environments
66 | # @default null
67 | auto_reload: null
68 | # Twig cache:
69 | #
70 | # By default, Twig templates will be compiled and stored in the filesystem
71 | # to increase performance. Disabling the Twig cache will recompile the
72 | # templates from source each time they are used. In most cases the
73 | # auto_reload setting above should be enabled rather than disabling the
74 | # Twig cache.
75 | #
76 | # Not recommended in production environments
77 | # @default true
78 | cache: true
79 | renderer.config:
80 | # Renderer required cache contexts:
81 | #
82 | # The Renderer will automatically associate these cache contexts with every
83 | # render array, hence varying every render array by these cache contexts.
84 | #
85 | # @default ['languages:language_interface', 'theme', 'user.permissions']
86 | required_cache_contexts: ['languages:language_interface', 'theme', 'user.permissions']
87 | # Renderer automatic placeholdering conditions:
88 | #
89 | # Drupal allows portions of the page to be automatically deferred when
90 | # rendering to improve cache performance. That is especially helpful for
91 | # cache contexts that vary widely, such as the active user. On some sites
92 | # those may be different, however, such as sites with only a handful of
93 | # users. If you know what the high-cardinality cache contexts are for your
94 | # site, specify those here. If you're not sure, the defaults are fairly safe
95 | # in general.
96 | #
97 | # For more information about rendering optimizations see
98 | # https://www.drupal.org/developing/api/8/render/arrays/cacheability#optimizing
99 | auto_placeholder_conditions:
100 | # Max-age at or below which caching is not considered worthwhile.
101 | #
102 | # Disable by setting to -1.
103 | #
104 | # @default 0
105 | max-age: 0
106 | # Cache contexts with a high cardinality.
107 | #
108 | # Disable by setting to [].
109 | #
110 | # @default ['session', 'user']
111 | contexts: ['session', 'user']
112 | # Tags with a high invalidation frequency.
113 | #
114 | # Disable by setting to [].
115 | #
116 | # @default []
117 | tags: []
118 | # Cacheability debugging:
119 | #
120 | # Responses with cacheability metadata (CacheableResponseInterface instances)
121 | # get X-Drupal-Cache-Tags and X-Drupal-Cache-Contexts headers.
122 | #
123 | # For more information about debugging cacheable responses, see
124 | # https://www.drupal.org/developing/api/8/response/cacheable-response-interface
125 | #
126 | # Not recommended in production environments
127 | # @default false
128 | http.response.debug_cacheability_headers: false
129 | factory.keyvalue:
130 | {}
131 | # Default key/value storage service to use.
132 | # @default keyvalue.database
133 | # default: keyvalue.database
134 | # Collection-specific overrides.
135 | # state: keyvalue.database
136 | factory.keyvalue.expirable:
137 | {}
138 | # Default key/value expirable storage service to use.
139 | # @default keyvalue.database.expirable
140 | # default: keyvalue.database.expirable
141 | # Allowed protocols for URL generation.
142 | filter_protocols:
143 | - http
144 | - https
145 | - ftp
146 | - news
147 | - nntp
148 | - tel
149 | - telnet
150 | - mailto
151 | - irc
152 | - ssh
153 | - sftp
154 | - webcal
155 | - rtsp
156 |
--------------------------------------------------------------------------------
/web/sites/default/config_migrate/sync/views.view.who_s_online.yml:
--------------------------------------------------------------------------------
1 | uuid: 4ea1437f-3ce2-4426-a2f0-c0b00f872b24
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: DWLCIpl8ku4NbiI9t3GgDeuW13KSOy2l1zho7ReP_Bg
9 | id: who_s_online
10 | label: 'Who''s online block'
11 | module: user
12 | description: 'Shows the user names of the most recently active users, and the total number of active users.'
13 | tag: default
14 | base_table: users_field_data
15 | base_field: uid
16 | core: 8.x
17 | display:
18 | default:
19 | display_plugin: default
20 | id: default
21 | display_title: Master
22 | position: 0
23 | display_options:
24 | access:
25 | type: perm
26 | options:
27 | perm: 'access user profiles'
28 | cache:
29 | type: tag
30 | options: { }
31 | query:
32 | type: views_query
33 | options:
34 | disable_sql_rewrite: false
35 | distinct: false
36 | replica: false
37 | query_comment: ''
38 | query_tags: { }
39 | exposed_form:
40 | type: basic
41 | options:
42 | submit_button: Apply
43 | reset_button: false
44 | reset_button_label: Reset
45 | exposed_sorts_label: 'Sort by'
46 | expose_sort_order: true
47 | sort_asc_label: Asc
48 | sort_desc_label: Desc
49 | pager:
50 | type: some
51 | options:
52 | items_per_page: 10
53 | offset: 0
54 | style:
55 | type: html_list
56 | options:
57 | grouping: { }
58 | row_class: ''
59 | default_row_class: true
60 | type: ul
61 | wrapper_class: item-list
62 | class: ''
63 | row:
64 | type: fields
65 | fields:
66 | name:
67 | id: name
68 | table: users_field_data
69 | field: name
70 | label: ''
71 | plugin_id: field
72 | type: user_name
73 | alter:
74 | alter_text: false
75 | make_link: false
76 | absolute: false
77 | trim: false
78 | word_boundary: false
79 | ellipsis: false
80 | strip_tags: false
81 | html: false
82 | hide_empty: false
83 | empty_zero: false
84 | relationship: none
85 | group_type: group
86 | admin_label: ''
87 | exclude: false
88 | element_type: ''
89 | element_class: ''
90 | element_label_type: ''
91 | element_label_class: ''
92 | element_label_colon: true
93 | element_wrapper_type: ''
94 | element_wrapper_class: ''
95 | element_default_classes: true
96 | empty: ''
97 | hide_alter_empty: true
98 | entity_type: user
99 | entity_field: name
100 | filters:
101 | status:
102 | value: true
103 | table: users_field_data
104 | field: status
105 | id: status
106 | expose:
107 | operator: '0'
108 | group: 1
109 | plugin_id: boolean
110 | entity_type: user
111 | entity_field: status
112 | access:
113 | id: access
114 | table: users_field_data
115 | field: access
116 | relationship: none
117 | group_type: group
118 | admin_label: ''
119 | operator: '>='
120 | value:
121 | min: ''
122 | max: ''
123 | value: '-15 minutes'
124 | type: offset
125 | group: 1
126 | exposed: false
127 | expose:
128 | operator_id: access_op
129 | label: 'Last access'
130 | description: 'A user is considered online for this long after they have last viewed a page.'
131 | use_operator: false
132 | operator: access_op
133 | identifier: access
134 | required: false
135 | remember: false
136 | multiple: false
137 | remember_roles:
138 | authenticated: authenticated
139 | anonymous: '0'
140 | administrator: '0'
141 | is_grouped: false
142 | group_info:
143 | label: ''
144 | description: ''
145 | identifier: ''
146 | optional: true
147 | widget: select
148 | multiple: false
149 | remember: false
150 | default_group: All
151 | default_group_multiple: { }
152 | group_items: { }
153 | plugin_id: date
154 | entity_type: user
155 | entity_field: access
156 | sorts:
157 | access:
158 | id: access
159 | table: users_field_data
160 | field: access
161 | order: DESC
162 | relationship: none
163 | group_type: group
164 | admin_label: ''
165 | exposed: false
166 | expose:
167 | label: ''
168 | granularity: second
169 | plugin_id: date
170 | entity_type: user
171 | entity_field: access
172 | title: 'Who''s online'
173 | header:
174 | result:
175 | id: result
176 | table: views
177 | field: result
178 | relationship: none
179 | group_type: group
180 | admin_label: ''
181 | empty: false
182 | content: 'There are currently @total users online.'
183 | plugin_id: result
184 | footer: { }
185 | empty:
186 | area_text_custom:
187 | id: area_text_custom
188 | table: views
189 | field: area_text_custom
190 | relationship: none
191 | group_type: group
192 | admin_label: ''
193 | empty: true
194 | tokenize: false
195 | content: 'There are currently 0 users online.'
196 | plugin_id: text_custom
197 | relationships: { }
198 | arguments: { }
199 | display_extenders: { }
200 | cache_metadata:
201 | contexts:
202 | - 'languages:language_content'
203 | - 'languages:language_interface'
204 | - user.permissions
205 | max-age: -1
206 | tags: { }
207 | who_s_online_block:
208 | display_plugin: block
209 | id: who_s_online_block
210 | display_title: 'Who''s online'
211 | position: 1
212 | display_options:
213 | block_description: 'Who''s online'
214 | display_description: 'A list of users that are currently logged in.'
215 | display_extenders: { }
216 | cache_metadata:
217 | contexts:
218 | - 'languages:language_content'
219 | - 'languages:language_interface'
220 | - user.permissions
221 | max-age: -1
222 | tags: { }
223 |
--------------------------------------------------------------------------------