clean install

This commit is contained in:
matze committed 2024-12-10 15:08:16 +01:00
commit e14eb2d8fd
31193 files changed
+3555714

No files matched your search

@@ -0,0 +1,12 @@
name: 'Administrator role'
description: 'Provides the Administrator role.'
type: 'User role'
config:
actions:
user.role.administrator:
# If this role already exists, then this action has no effect. If it doesn't exist, we'll create it with the following values.
createIfNotExists:
id: administrator
label: Administrator
weight: 3
is_admin: true
@@ -0,0 +1,32 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.comment
- node.type.article
module:
- comment
id: node.article.comment
field_name: comment
entity_type: node
bundle: article
label: Comments
description: ''
required: false
translatable: true
default_value:
-
status: 2
cid: 0
last_comment_timestamp: 0
last_comment_name: null
last_comment_uid: 0
comment_count: 0
default_value_callback: ''
settings:
default_mode: 1
per_page: 50
anonymous: 0
form_location: true
preview: 1
field_type: comment
@@ -0,0 +1,29 @@
name: 'Article comments'
description: 'Provides commenting on article content.'
type: 'Content field'
recipes:
- article_content_type
- comment_base
config:
actions:
core.entity_form_display.node.article.default:
setComponent:
name: comment
options:
type: comment_default
weight: 20
region: content
settings: {}
third_party_settings: {}
core.entity_view_display.node.article.default:
setComponent:
name: comment
options:
type: comment_default
label: above
settings:
view_mode: default
pager_id: 0
third_party_settings: { }
weight: 110
region: content
@@ -0,0 +1,23 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.body
- node.type.article
module:
- text
id: node.article.body
field_name: body
entity_type: node
bundle: article
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary
@@ -0,0 +1,37 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_image
- node.type.article
module:
- image
id: node.article.field_image
field_name: field_image
entity_type: node
bundle: article
label: Image
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg webp'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
field_type: image
@@ -0,0 +1,31 @@
langcode: en
status: true
dependencies:
module:
- file
- image
- node
id: node.field_image
field_name: field_image
entity_type: node
type: image
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
module: image
locked: false
cardinality: 1
translatable: true
indexes:
target_id:
- target_id
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,10 @@
langcode: en
status: true
dependencies: { }
name: Article
type: article
description: 'Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.'
help: null
new_revision: true
preview_mode: 1
display_submitted: true
@@ -0,0 +1,144 @@
name: 'Article content type'
description: 'Provides Article content type and related configuration. Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.'
type: 'Content type'
install:
- image
- node
- path
config:
import:
node:
# Only import config which is also imported by the Standard profile.
- core.entity_view_mode.node.full
- core.entity_view_mode.node.rss
- core.entity_view_mode.node.teaser
- field.storage.node.body
- system.action.node_delete_action
- system.action.node_make_sticky_action
- system.action.node_make_unsticky_action
- system.action.node_promote_action
- system.action.node_publish_action
- system.action.node_save_action
- system.action.node_unpromote_action
- system.action.node_unpublish_action
image:
# Only import config which is also imported by the Standard profile.
- image.style.medium
- image.style.thumbnail
- image.style.wide
actions:
core.entity_form_display.node.article.default:
createIfNotExists:
targetEntityType: node
bundle: article
mode: default
status: true
setComponents:
- name: body
options:
type: text_textarea_with_summary
weight: 2
region: content
- name: created
options:
type: datetime_timestamp
weight: 10
region: content
- name: field_image
options:
type: image_image
weight: 1
region: content
- name: path
options:
type: path
weight: 30
region: content
- name: promote
options:
type: boolean_checkbox
weight: 15
region: content
- name: status
options:
type: boolean_checkbox
weight: 120
region: content
- name: sticky
options:
type: boolean_checkbox
weight: 16
region: content
- name: title
options:
type: string_textfield
weight: 0
region: content
- name: uid
options:
type: entity_reference_autocomplete
weight: 5
region: content
core.entity_view_display.node.article.default:
createIfNotExists:
targetEntityType: node
bundle: article
mode: default
status: true
setComponents:
- name: body
options:
type: text_default
label: hidden
weight: 0
region: content
- name: field_image
options:
type: image
label: hidden
settings:
image_style: wide
image_loading:
attribute: eager
weight: -1
region: content
- name: links
options:
weight: 100
region: content
core.entity_view_display.node.article.rss:
createIfNotExists:
targetEntityType: node
bundle: article
mode: rss
status: true
content:
links:
weight: 100
region: content
core.entity_view_display.node.article.teaser:
createIfNotExists:
targetEntityType: node
bundle: article
mode: teaser
status: true
content:
links:
weight: 100
region: content
setComponents:
- name: body
options:
type: text_summary_or_trimmed
label: hidden
weight: 0
region: content
- name: field_image
options:
type: image
label: hidden
settings:
image_style: medium
image_link: content
weight: -1
region: content
@@ -0,0 +1,26 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_tags
- node.type.article
- taxonomy.vocabulary.tags
id: node.article.field_tags
field_name: field_tags
entity_type: node
bundle: article
label: Tags
description: 'Enter a comma-separated list. For example: Amsterdam, Mexico City, "Cleveland, Ohio"'
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
tags: tags
sort:
field: _none
auto_create: true
field_type: entity_reference
@@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- node
- taxonomy
id: node.field_tags
field_name: field_tags
entity_type: node
type: entity_reference
settings:
target_type: taxonomy_term
module: core
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
+39
View File
@@ -0,0 +1,39 @@
name: 'Article tags'
description: 'Provides tags on article content.'
type: 'Content field'
recipes:
- article_content_type
- tags_taxonomy
install:
- views
config:
import:
taxonomy:
- views.view.taxonomy_term
actions:
core.entity_form_display.node.article.default:
setComponent:
name: field_tags
options:
type: entity_reference_autocomplete_tags
weight: 3
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
core.entity_view_display.node.article.teaser: &entity_view_display_node_article_teaser
setComponent:
name: field_tags
options:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 10
region: content
core.entity_view_display.node.article.default:
<<: *entity_view_display_node_article_teaser
@@ -0,0 +1,52 @@
langcode: en
status: true
dependencies:
config:
- field.field.media.audio.field_media_audio_file
- media.type.audio
module:
- file
- path
id: media.audio.default
targetEntityType: media
bundle: audio
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_media_audio_file:
type: file_generic
weight: 0
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 100
region: content
settings:
display_label: true
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden:
name: true
@@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.audio.field_media_audio_file
- media.type.audio
id: media.audio.media_library
targetEntityType: media
bundle: audio
mode: media_library
content: { }
hidden:
created: true
field_media_audio_file: true
name: true
path: true
status: true
uid: true
@@ -0,0 +1,29 @@
langcode: en
status: true
dependencies:
config:
- field.field.media.audio.field_media_audio_file
- media.type.audio
module:
- file
id: media.audio.default
targetEntityType: media
bundle: audio
mode: default
content:
field_media_audio_file:
type: file_audio
label: visually_hidden
settings:
controls: true
autoplay: false
loop: false
multiple_file_display_type: tags
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
name: true
thumbnail: true
uid: true
@@ -0,0 +1,31 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.media_library
- field.field.media.audio.field_media_audio_file
- image.style.thumbnail
- media.type.audio
module:
- image
id: media.audio.media_library
targetEntityType: media
bundle: audio
mode: media_library
content:
thumbnail:
type: image
label: hidden
settings:
image_style: thumbnail
image_link: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
field_media_audio_file: true
name: true
uid: true
@@ -0,0 +1,26 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_audio_file
- media.type.audio
module:
- file
id: media.audio.field_media_audio_file
field_name: field_media_audio_file
entity_type: media
bundle: audio
label: 'Audio file'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'mp3 wav aac'
max_filesize: ''
description_field: false
field_type: file
@@ -0,0 +1,22 @@
langcode: en
status: true
dependencies:
module:
- file
- media
id: media.field_media_audio_file
field_name: field_media_audio_file
entity_type: media
type: file
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
module: file
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,13 @@
langcode: en
status: true
dependencies: { }
id: audio
label: Audio
description: 'A locally hosted audio file.'
source: audio_file
queue_thumbnail_downloads: false
new_revision: true
source_configuration:
source_field: field_media_audio_file
field_map:
name: name
@@ -0,0 +1,27 @@
name: 'Audio media'
description: 'Provides "Audio" media type and related configuration. A locally hosted audio file.'
type: 'Media type'
install:
- image
- media_library
- path
- views
config:
import:
file:
- views.view.files
media_library:
- core.entity_view_display.media.audio.media_library
- core.entity_view_mode.media.media_library
- core.entity_form_mode.media.media_library
- image.style.media_library
- views.view.media_library
media:
- core.entity_view_mode.media.full
- system.action.media_delete_action
- system.action.media_publish_action
- system.action.media_save_action
- system.action.media_unpublish_action
- views.view.media
image:
- image.style.thumbnail
@@ -0,0 +1,7 @@
langcode: en
status: true
dependencies: { }
id: basic
label: 'Basic block'
revision: false
description: 'A basic block contains a title and a body.'
@@ -0,0 +1,32 @@
langcode: en
status: true
dependencies:
config:
- block_content.type.basic
- field.field.block_content.basic.body
module:
- text
id: block_content.basic.default
targetEntityType: block_content
bundle: basic
mode: default
content:
body:
type: text_textarea_with_summary
weight: -4
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
info:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
@@ -0,0 +1,21 @@
langcode: en
status: true
dependencies:
config:
- block_content.type.basic
- field.field.block_content.basic.body
module:
- text
id: block_content.basic.default
targetEntityType: block_content
bundle: basic
mode: default
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 0
region: content
hidden: { }
@@ -0,0 +1,23 @@
langcode: en
status: true
dependencies:
config:
- block_content.type.basic
- field.storage.block_content.body
module:
- text
id: block_content.basic.body
field_name: body
entity_type: block_content
bundle: basic
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: false
required_summary: false
allowed_formats: { }
field_type: text_with_summary
@@ -0,0 +1,12 @@
name: 'Basic block'
description: 'Provides "Basic block" custom block type and related configuration. A basic block contains a title and a body.'
type: 'Block type'
install:
- block_content
- views
config:
import:
block_content:
- field.storage.block_content.body
- core.entity_view_mode.block_content.full
- views.view.block_content
@@ -0,0 +1,65 @@
langcode: en
status: true
dependencies:
config:
- filter.format.basic_html
module:
- ckeditor5
format: basic_html
editor: ckeditor5
settings:
toolbar:
items:
- bold
- italic
- '|'
- link
- '|'
- bulletedList
- numberedList
- '|'
- blockQuote
- drupalInsertImage
- '|'
- heading
- code
- '|'
- sourceEditing
plugins:
ckeditor5_heading:
enabled_headings:
- heading2
- heading3
- heading4
- heading5
- heading6
ckeditor5_imageResize:
allow_resize: true
ckeditor5_list:
properties:
reversed: false
startIndex: true
multiBlock: true
ckeditor5_sourceEditing:
allowed_tags:
- '<cite>'
- '<dl>'
- '<dt>'
- '<dd>'
- '<a hreflang>'
- '<blockquote cite>'
- '<ul type>'
- '<ol type>'
- '<h2 id>'
- '<h3 id>'
- '<h4 id>'
- '<h5 id>'
- '<h6 id>'
image_upload:
status: true
scheme: public
directory: inline-images
max_size: null
max_dimensions:
width: null
height: null
@@ -0,0 +1,48 @@
langcode: en
status: true
dependencies:
module:
- editor
name: 'Basic HTML'
format: basic_html
weight: 0
filters:
editor_file_reference:
id: editor_file_reference
provider: editor
status: true
weight: 11
settings: { }
filter_align:
id: filter_align
provider: filter
status: true
weight: 7
settings: { }
filter_caption:
id: filter_caption
provider: filter
status: true
weight: 8
settings: { }
filter_html:
id: filter_html
provider: filter
status: true
weight: -10
settings:
allowed_html: '<br> <p> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <cite> <dl> <dt> <dd> <a hreflang href> <blockquote cite> <ul type> <ol start type> <strong> <em> <code> <li> <img src alt data-entity-uuid data-entity-type height width data-caption data-align>'
filter_html_help: false
filter_html_nofollow: false
filter_html_image_secure:
id: filter_html_image_secure
provider: filter
status: true
weight: 9
settings: { }
filter_image_lazy_load:
id: filter_image_lazy_load
provider: filter
status: true
weight: 15
settings: { }
@@ -0,0 +1,9 @@
name: 'Basic HTML editor'
description: 'Provides "Basic HTML" text format along with WYSIWYG editor and related configuration.'
type: 'Text format editor'
install:
- ckeditor5
config:
actions:
user.role.authenticated:
grantPermission: 'use text format basic_html'
@@ -0,0 +1,18 @@
_meta:
version: '1.0'
entity_type: shortcut
uuid: 478b3170-1dfd-49d8-8eb3-f1b285445ab7
bundle: default
default_langcode: en
default:
title:
-
value: 'All content'
weight:
-
value: -19
link:
-
uri: 'internal:/admin/content'
title: ''
options: { }
@@ -0,0 +1,18 @@
_meta:
version: '1.0'
entity_type: shortcut
uuid: d5377721-d6de-4fdf-82e2-557c50f84ceb
bundle: default
default_langcode: en
default:
title:
-
value: 'Add content'
weight:
-
value: -20
link:
-
uri: 'internal:/node/add'
title: ''
options: { }
@@ -0,0 +1,12 @@
name: 'Basic shortcuts'
description: 'Provides a basic set of shortcuts for logged-in users.'
type: Administration
install:
- shortcut
config:
import:
shortcut:
- shortcut.set.default
actions:
user.role.authenticated:
grantPermission: 'access shortcuts'
@@ -0,0 +1,7 @@
langcode: en
status: true
dependencies: { }
id: comment
label: 'Default comments'
target_entity_type_id: node
description: 'Allows commenting on content'
@@ -0,0 +1,33 @@
langcode: en
status: true
dependencies:
config:
- comment.type.comment
- field.field.comment.comment.comment_body
module:
- text
id: comment.comment.default
targetEntityType: comment
bundle: comment
mode: default
content:
author:
weight: -2
region: content
comment_body:
type: text_textarea
weight: 11
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
subject:
type: string_textfield
weight: 10
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
@@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- comment.type.comment
- field.field.comment.comment.comment_body
module:
- text
id: comment.comment.default
targetEntityType: comment
bundle: comment
mode: default
content:
comment_body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 0
region: content
links:
weight: 100
region: content
hidden: { }
@@ -0,0 +1,21 @@
langcode: en
status: true
dependencies:
config:
- comment.type.comment
- field.storage.comment.comment_body
module:
- text
id: comment.comment.comment_body
field_name: comment_body
entity_type: comment
bundle: comment
label: Comment
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
allowed_formats: { }
field_type: text_long
@@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- comment
- node
id: node.comment
field_name: comment
entity_type: node
type: comment
settings:
comment_type: comment
module: comment
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
+26
View File
@@ -0,0 +1,26 @@
name: 'Default comments'
description: 'Allows commenting on content.'
type: 'Comment type'
install:
- comment
- node
- views
config:
import:
comment:
- core.entity_view_mode.comment.full
- field.storage.comment.comment_body
- system.action.comment_delete_action
- system.action.comment_publish_action
- system.action.comment_save_action
- system.action.comment_unpublish_action
- views.view.comment
- views.view.comments_recent
actions:
user.role.authenticated:
grantPermissions:
- 'access comments'
- 'post comments'
- 'skip comment approval'
user.role.anonymous:
grantPermission: 'access comments'
@@ -0,0 +1,18 @@
name: 'Content editor role'
description: 'Provides the Content editor role.'
type: 'User role'
install:
# Node provides the `view own unpublished content` permission.
- node
config:
actions:
user.role.content_editor:
# If this role already exists, then this action has no effect. If it doesn't exist, we'll create it with the following values.
createIfNotExists:
id: content_editor
label: 'Content editor'
weight: 2
is_admin: false
permissions:
- 'access administration pages'
- 'view own unpublished content'
@@ -0,0 +1,19 @@
name: 'Content search'
type: Search
description: 'Adds a page that can search site content.'
install:
- node
- search
config:
import:
node:
- core.entity_view_mode.node.search_index
- core.entity_view_mode.node.search_result
- search.page.node_search
actions:
user.role.anonymous:
grantPermissions:
- 'search content'
user.role.authenticated:
grantPermissions:
- 'search content'
@@ -0,0 +1,36 @@
name: 'Admin theme'
description: 'Sets up Claro as the administrative (backend) theme.'
type: 'Themes'
install:
- claro
- block
config:
import:
system:
- system.menu.account
- system.menu.main
claro:
- block.block.claro_breadcrumbs
- block.block.claro_content
- block.block.claro_local_actions
- block.block.claro_messages
- block.block.claro_primary_local_tasks
- block.block.claro_secondary_local_tasks
actions:
# Create this block dynamically so as not to conflict with the block created
# by block_theme_initialize() when Claro is installed.
block.block.claro_page_title:
createIfNotExists:
theme: claro
plugin: page_title_block
settings:
id: page_title_block
label: 'Page title'
label_display: '0'
provider: core
setRegion: header
setStatus: true
setWeight: -30
system.theme:
simpleConfigUpdate:
admin: claro
@@ -0,0 +1,52 @@
name: 'Front end theme'
description: 'Sets up Olivero as the front-end theme.'
type: 'Themes'
install:
- olivero
- block
config:
import:
system:
- system.menu.account
- system.menu.main
olivero:
- block.block.olivero_account_menu
- block.block.olivero_breadcrumbs
- block.block.olivero_content
- block.block.olivero_main_menu
- block.block.olivero_powered
- block.block.olivero_primary_admin_actions
- block.block.olivero_primary_local_tasks
- block.block.olivero_secondary_local_tasks
- block.block.olivero_site_branding
- core.date_format.olivero_medium
actions:
# Create these blocks dynamically so as not to conflict with the blocks created
# by block_theme_initialize() when Olivero is installed.
block.block.olivero_messages:
createIfNotExists:
theme: olivero
plugin: system_messages_block
settings:
id: system_messages_block
label: 'Status messages'
label_display: '0'
provider: system
setRegion: highlighted
setStatus: true
setWeight: -5
block.block.olivero_page_title:
createIfNotExists:
theme: olivero
plugin: page_title_block
settings:
id: page_title_block
label: 'Page title'
label_display: '0'
provider: core
setRegion: content_above
setStatus: true
setWeight: -5
system.theme:
simpleConfigUpdate:
default: olivero
@@ -0,0 +1,16 @@
name: 'Recommended Maintenance'
description: 'Sets up modules recommended for site maintenance.'
type: 'Maintenance'
install:
- automated_cron
- announcements_feed
- dblog
- views
config:
import:
automated_cron:
- automated_cron.settings
dblog:
- views.view.watchdog
system:
- system.cron
@@ -0,0 +1,7 @@
name: 'Recommended Performance'
description: 'Sets up modules for improved site performance.'
type: 'Performance'
install:
- page_cache
- dynamic_page_cache
- big_pipe
@@ -0,0 +1,52 @@
langcode: en
status: true
dependencies:
config:
- field.field.media.document.field_media_document
- media.type.document
module:
- file
- path
id: media.document.default
targetEntityType: media
bundle: document
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_media_document:
type: file_generic
weight: 0
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 100
region: content
settings:
display_label: true
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden:
name: true
@@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.document.field_media_document
- media.type.document
id: media.document.media_library
targetEntityType: media
bundle: document
mode: media_library
content: { }
hidden:
created: true
field_media_document: true
name: true
path: true
status: true
uid: true
@@ -0,0 +1,25 @@
langcode: en
status: true
dependencies:
config:
- field.field.media.document.field_media_document
- media.type.document
module:
- file
id: media.document.default
targetEntityType: media
bundle: document
mode: default
content:
field_media_document:
type: file_default
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
hidden:
created: true
name: true
thumbnail: true
uid: true
@@ -0,0 +1,31 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.media_library
- field.field.media.document.field_media_document
- image.style.thumbnail
- media.type.document
module:
- image
id: media.document.media_library
targetEntityType: media
bundle: document
mode: media_library
content:
thumbnail:
type: image
label: hidden
settings:
image_style: thumbnail
image_link: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
field_media_document: true
name: true
uid: true
@@ -0,0 +1,29 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_document
- media.type.document
module:
- file
enforced:
module:
- media
id: media.document.field_media_document
field_name: field_media_document
entity_type: media
bundle: document
label: Document
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'txt rtf doc docx ppt pptx xls xlsx pdf odf odg odp ods odt fodt fods fodp fodg key numbers pages'
max_filesize: ''
description_field: false
field_type: file
@@ -0,0 +1,25 @@
langcode: en
status: true
dependencies:
module:
- file
- media
enforced:
module:
- media
id: media.field_media_document
field_name: field_media_document
entity_type: media
type: file
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
module: file
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,13 @@
langcode: en
status: true
dependencies: { }
id: document
label: Document
description: 'An uploaded file or document, such as a PDF.'
source: file
queue_thumbnail_downloads: false
new_revision: true
source_configuration:
source_field: field_media_document
field_map:
name: name
@@ -0,0 +1,25 @@
name: 'Document media type'
description: 'Provides "Document" media type and related configuration to enable uploaded files or documents, such as a PDF.'
type: 'Media type'
install:
- media_library
- path
- views
config:
import:
file:
- views.view.files
media_library:
- core.entity_view_mode.media.media_library
- core.entity_form_mode.media.media_library
- image.style.media_library
- views.view.media_library
media:
- core.entity_view_mode.media.full
- system.action.media_delete_action
- system.action.media_publish_action
- system.action.media_save_action
- system.action.media_unpublish_action
- views.view.media
image:
- image.style.thumbnail
@@ -0,0 +1,60 @@
langcode: en
status: true
dependencies:
module:
- content_moderation
id: editorial
label: Editorial
type: content_moderation
type_settings:
states:
archived:
label: Archived
weight: 5
published: false
default_revision: true
draft:
label: Draft
weight: -5
published: false
default_revision: false
published:
label: Published
weight: 0
published: true
default_revision: true
transitions:
archive:
label: Archive
from:
- published
to: archived
weight: 2
archived_draft:
label: 'Restore to Draft'
from:
- archived
to: draft
weight: 3
archived_published:
label: Restore
from:
- archived
to: published
weight: 4
create_new_draft:
label: 'Create New Draft'
from:
- draft
- published
to: draft
weight: 0
publish:
label: Publish
from:
- draft
- published
to: published
weight: 1
entity_types: { }
default_moderation_state: draft
@@ -0,0 +1,12 @@
name: 'Editorial workflow'
description: 'Provides an editorial workflow for moderating content.'
type: 'Workflow'
install:
- content_moderation
# The moderated_content view depends on Node.
- node
- views
config:
import:
content_moderation:
- views.view.moderated_content
+37
View File
@@ -0,0 +1,37 @@
# The name of the recipe.
name: 'Example'
# The description of the recipe.
description: 'Provides an example recipe.'
# The type key is similar to the package key in module.info.yml. It can be used
# to group Drupal recipes.
type: 'Content type'
install:
# An array of modules or themes to install if they are not already. The system
# will detect if it is a theme or a module. During the install only simple
# configuration from the new modules is created. This allows the Drupal recipe
# control over the configuration.
- node
- text
config:
# A Drupal recipe can have a config directory. All configuration is this
# directory will be imported after the modules have been installed.
# Additionally, the Drupal recipe can install configuration entities provided
# by the modules it configures. This allows them to not have to maintain or
# copy this configuration.
import:
text:
- text.settings
# Import all configuration that is provided by the node module and any
# optional configuration that depends on the text module that is provided by
# modules already installed.
node: '*'
# Configuration actions may be defined. The structure here should be
# entity_type.ID.action. Below the user role entity type with an ID of
# editor is having the permissions added. The permissions key will be
# mapped to the \Drupal\user\Entity\Role::grantPermission() method.
actions:
text.settings:
simpleConfigUpdate:
default_summary_length: 700
# A Drupal recipe can have a content directory. All content in this directory
# will be created after the configuration is installed.
@@ -0,0 +1,11 @@
langcode: en
status: true
dependencies: { }
id: feedback
label: 'Website feedback'
recipients:
- [email protected]
reply: ''
weight: 0
message: 'Your message has been sent.'
redirect: ''
@@ -0,0 +1,24 @@
name: 'Website feedback contact form'
description: 'Provides a website feedback contact form.'
type: 'Contact form'
install:
- contact
config:
import:
contact:
- contact.form.personal
system:
- system.menu.footer
actions:
core.menu.static_menu_link_overrides:
simpleConfigUpdate:
definitions.contact__site_page:
menu_name: footer
parent: ''
weight: 0
expanded: false
enabled: true
user.role.anonymous:
grantPermission: 'access site-wide contact form'
user.role.authenticated:
grantPermission: 'access site-wide contact form'
@@ -0,0 +1,102 @@
langcode: en
status: true
dependencies:
config:
- filter.format.full_html
module:
- ckeditor5
format: full_html
editor: ckeditor5
settings:
toolbar:
items:
- bold
- italic
- strikethrough
- superscript
- subscript
- removeFormat
- '|'
- link
- '|'
- bulletedList
- numberedList
- '|'
- blockQuote
- drupalInsertImage
- insertTable
- horizontalLine
- '|'
- heading
- codeBlock
- '|'
- sourceEditing
plugins:
ckeditor5_codeBlock:
languages:
-
label: 'Plain text'
language: plaintext
-
label: C
language: c
-
label: 'C#'
language: cs
-
label: C++
language: cpp
-
label: CSS
language: css
-
label: Diff
language: diff
-
label: HTML
language: html
-
label: Java
language: java
-
label: JavaScript
language: javascript
-
label: PHP
language: php
-
label: Python
language: python
-
label: Ruby
language: ruby
-
label: TypeScript
language: typescript
-
label: XML
language: xml
ckeditor5_heading:
enabled_headings:
- heading2
- heading3
- heading4
- heading5
- heading6
ckeditor5_imageResize:
allow_resize: true
ckeditor5_list:
properties:
reversed: true
startIndex: true
multiBlock: true
ckeditor5_sourceEditing:
allowed_tags: { }
image_upload:
status: true
scheme: public
directory: inline-images
max_size: null
max_dimensions:
width: null
height: null
@@ -0,0 +1,39 @@
langcode: en
status: true
dependencies:
module:
- editor
name: 'Full HTML'
format: full_html
weight: 2
filters:
editor_file_reference:
id: editor_file_reference
provider: editor
status: true
weight: 11
settings: { }
filter_align:
id: filter_align
provider: filter
status: true
weight: 8
settings: { }
filter_caption:
id: filter_caption
provider: filter
status: true
weight: 9
settings: { }
filter_htmlcorrector:
id: filter_htmlcorrector
provider: filter
status: true
weight: 10
settings: { }
filter_image_lazy_load:
id: filter_image_lazy_load
provider: filter
status: true
weight: 15
settings: { }
@@ -0,0 +1,5 @@
name: 'Full HTML editor'
description: 'Provides "Full HTML" text format along with WYSIWYG editor and related configuration.'
type: 'Text format editor'
install:
- ckeditor5
@@ -0,0 +1,54 @@
langcode: en
status: true
dependencies:
config:
- field.field.media.image.field_media_image
- image.style.thumbnail
- media.type.image
module:
- image
- path
id: media.image.default
targetEntityType: media
bundle: image
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_media_image:
type: image_image
weight: 0
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 100
region: content
settings:
display_label: true
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden:
name: true
@@ -0,0 +1,29 @@
langcode: en
status: true
dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.image.field_media_image
- image.style.thumbnail
- media.type.image
module:
- image
id: media.image.media_library
targetEntityType: media
bundle: image
mode: media_library
content:
field_media_image:
type: image_image
weight: 1
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
hidden:
created: true
name: true
path: true
status: true
uid: true
@@ -0,0 +1,30 @@
langcode: en
status: true
dependencies:
config:
- field.field.media.image.field_media_image
- image.style.large
- media.type.image
module:
- image
id: media.image.default
targetEntityType: media
bundle: image
mode: default
content:
field_media_image:
type: image
label: visually_hidden
settings:
image_style: large
image_link: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 1
region: content
hidden:
created: true
name: true
thumbnail: true
uid: true
@@ -0,0 +1,31 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.media_library
- field.field.media.image.field_media_image
- image.style.medium
- media.type.image
module:
- image
id: media.image.media_library
targetEntityType: media
bundle: image
mode: media_library
content:
thumbnail:
type: image
label: hidden
settings:
image_style: medium
image_link: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
field_media_image: true
name: true
uid: true
@@ -0,0 +1,40 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_image
- media.type.image
module:
- image
enforced:
module:
- media
id: media.image.field_media_image
field_name: field_media_image
entity_type: media
bundle: image
label: Image
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg webp'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
field_type: image
@@ -0,0 +1,32 @@
langcode: en
status: true
dependencies:
module:
- file
- image
- media
enforced:
module:
- media
id: media.field_media_image
field_name: field_media_image
entity_type: media
type: image
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
module: image
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,13 @@
langcode: en
status: true
dependencies: { }
id: image
label: Image
description: 'Use local images for reusable media.'
source: image
queue_thumbnail_downloads: false
new_revision: true
source_configuration:
source_field: field_media_image
field_map:
name: name
@@ -0,0 +1,27 @@
name: 'Image media type'
description: 'Provides "Image" media type and related configuration. Use local images for reusable media.'
type: 'Media type'
install:
- media_library
- path
- views
config:
import:
file:
- views.view.files
media_library:
- core.entity_view_mode.media.media_library
- core.entity_form_mode.media.media_library
- image.style.media_library
- views.view.media_library
media:
- core.entity_view_mode.media.full
- system.action.media_delete_action
- system.action.media_publish_action
- system.action.media_save_action
- system.action.media_unpublish_action
- views.view.media
image:
- image.style.medium
- image.style.large
- image.style.thumbnail
@@ -0,0 +1,52 @@
langcode: en
status: true
dependencies:
config:
- field.field.media.video.field_media_video_file
- media.type.video
module:
- file
- path
id: media.video.default
targetEntityType: media
bundle: video
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_media_video_file:
type: file_generic
weight: 0
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 100
region: content
settings:
display_label: true
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden:
name: true
@@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.video.field_media_video_file
- media.type.video
id: media.video.media_library
targetEntityType: media
bundle: video
mode: media_library
content: { }
hidden:
created: true
field_media_video_file: true
name: true
path: true
status: true
uid: true
@@ -0,0 +1,32 @@
langcode: en
status: true
dependencies:
config:
- field.field.media.video.field_media_video_file
- media.type.video
module:
- file
id: media.video.default
targetEntityType: media
bundle: video
mode: default
content:
field_media_video_file:
type: file_video
label: visually_hidden
settings:
controls: true
autoplay: false
loop: false
multiple_file_display_type: tags
muted: false
width: 640
height: 480
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
name: true
thumbnail: true
uid: true
@@ -0,0 +1,31 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.media_library
- field.field.media.video.field_media_video_file
- image.style.thumbnail
- media.type.video
module:
- image
id: media.video.media_library
targetEntityType: media
bundle: video
mode: media_library
content:
thumbnail:
type: image
label: hidden
settings:
image_style: thumbnail
image_link: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
field_media_video_file: true
name: true
uid: true
@@ -0,0 +1,26 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_video_file
- media.type.video
module:
- file
id: media.video.field_media_video_file
field_name: field_media_video_file
entity_type: media
bundle: video
label: 'Video file'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: mp4
max_filesize: ''
description_field: false
field_type: file
@@ -0,0 +1,22 @@
langcode: en
status: true
dependencies:
module:
- file
- media
id: media.field_media_video_file
field_name: field_media_video_file
entity_type: media
type: file
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
module: file
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,13 @@
langcode: en
status: true
dependencies: { }
id: video
label: Video
description: 'A locally hosted video file.'
source: video_file
queue_thumbnail_downloads: false
new_revision: true
source_configuration:
source_field: field_media_video_file
field_map:
name: name
@@ -0,0 +1,25 @@
name: 'Local video media'
description: 'Provides a media type for self-hosted video files.'
type: 'Media type'
install:
- media_library
- path
- views
config:
import:
file:
- views.view.files
media_library:
- core.entity_view_mode.media.media_library
- core.entity_form_mode.media.media_library
- image.style.media_library
- views.view.media_library
media:
- core.entity_view_mode.media.full
- system.action.media_delete_action
- system.action.media_publish_action
- system.action.media_save_action
- system.action.media_unpublish_action
- views.view.media
image:
- image.style.thumbnail
@@ -0,0 +1,21 @@
langcode: en
status: true
dependencies:
config:
- node.type.page
id: node.page.promote
field_name: promote
entity_type: node
bundle: page
label: 'Promoted to front page'
description: ''
required: false
translatable: false
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
@@ -0,0 +1,76 @@
langcode: en
status: true
dependencies:
config:
- field.field.node.page.body
- node.type.page
module:
- path
- text
id: node.page.default
targetEntityType: node
bundle: page
mode: default
content:
body:
type: text_textarea_with_summary
weight: 31
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
@@ -0,0 +1,25 @@
langcode: en
status: true
dependencies:
config:
- field.field.node.page.body
- node.type.page
module:
- text
- user
id: node.page.default
targetEntityType: node
bundle: page
mode: default
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 100
region: content
links:
weight: 101
region: content
hidden: { }
@@ -0,0 +1,27 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.page.body
- node.type.page
module:
- text
- user
id: node.page.teaser
targetEntityType: node
bundle: page
mode: teaser
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 100
region: content
links:
weight: 101
region: content
hidden: { }
@@ -0,0 +1,23 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.body
- node.type.page
module:
- text
id: node.page.body
field_name: body
entity_type: node
bundle: page
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary
@@ -0,0 +1,10 @@
langcode: en
status: true
dependencies: { }
name: 'Basic page'
type: page
description: "Use <em>basic pages</em> for your static content, such as an 'About us' page."
help: null
new_revision: true
preview_mode: 1
display_submitted: false
@@ -0,0 +1,21 @@
name: 'Basic page'
description: "Provides Basic page content type and related configuration. Use <em>basic pages</em> for your static content, such as an 'About us' page."
type: 'Content type'
install:
- node
- path
config:
import:
node:
- core.entity_view_mode.node.full
- core.entity_view_mode.node.rss
- core.entity_view_mode.node.teaser
- field.storage.node.body
- system.action.node_delete_action
- system.action.node_make_sticky_action
- system.action.node_make_unsticky_action
- system.action.node_promote_action
- system.action.node_publish_action
- system.action.node_save_action
- system.action.node_unpromote_action
- system.action.node_unpublish_action
@@ -0,0 +1,53 @@
langcode: en
status: true
dependencies:
config:
- field.field.media.remote_video.field_media_oembed_video
- media.type.remote_video
module:
- media
- path
id: media.remote_video.default
targetEntityType: media
bundle: remote_video
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_media_oembed_video:
type: oembed_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 100
region: content
settings:
display_label: true
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden:
name: true
@@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.remote_video.field_media_oembed_video
- media.type.remote_video
id: media.remote_video.media_library
targetEntityType: media
bundle: remote_video
mode: media_library
content: { }
hidden:
created: true
field_media_oembed_video: true
name: true
path: true
status: true
uid: true
@@ -0,0 +1,29 @@
langcode: en
status: true
dependencies:
config:
- field.field.media.remote_video.field_media_oembed_video
- media.type.remote_video
module:
- media
id: media.remote_video.default
targetEntityType: media
bundle: remote_video
mode: default
content:
field_media_oembed_video:
type: oembed
label: hidden
settings:
max_width: 0
max_height: 0
loading:
attribute: lazy
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
name: true
thumbnail: true
uid: true
@@ -0,0 +1,31 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.media_library
- field.field.media.remote_video.field_media_oembed_video
- image.style.medium
- media.type.remote_video
module:
- image
id: media.remote_video.media_library
targetEntityType: media
bundle: remote_video
mode: media_library
content:
thumbnail:
type: image
label: hidden
settings:
image_style: medium
image_link: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
field_media_oembed_video: true
name: true
uid: true
@@ -0,0 +1,18 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_oembed_video
- media.type.remote_video
id: media.remote_video.field_media_oembed_video
field_name: field_media_oembed_video
entity_type: media
bundle: remote_video
label: 'Video URL'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
@@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
module:
- media
id: media.field_media_oembed_video
field_name: field_media_oembed_video
entity_type: media
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,17 @@
langcode: en
status: true
dependencies: { }
id: remote_video
label: 'Remote video'
description: 'A remotely hosted video from YouTube or Vimeo.'
source: 'oembed:video'
queue_thumbnail_downloads: false
new_revision: true
source_configuration:
source_field: field_media_oembed_video
thumbnails_directory: 'public://oembed_thumbnails/[date:custom:Y-m]'
providers:
- YouTube
- Vimeo
field_map:
title: name
@@ -0,0 +1,24 @@
name: 'Remote video media'
description: 'Provides a media type for videos hosted on YouTube and Vimeo.'
type: 'Media type'
install:
- media_library
- path
- views
config:
import:
media_library:
- core.entity_view_mode.media.media_library
- core.entity_form_mode.media.media_library
- image.style.media_library
- views.view.media_library
media:
- core.entity_view_mode.media.full
- system.action.media_delete_action
- system.action.media_publish_action
- system.action.media_save_action
- system.action.media_unpublish_action
- views.view.media
image:
- image.style.medium
- image.style.thumbnail
@@ -0,0 +1,29 @@
langcode: en
status: true
dependencies: { }
name: 'Restricted HTML'
format: restricted_html
weight: 1
filters:
filter_html:
id: filter_html
provider: filter
status: true
weight: -10
settings:
allowed_html: '<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>'
filter_html_help: true
filter_html_nofollow: false
filter_autop:
id: filter_autop
provider: filter
status: true
weight: 0
settings: { }
filter_url:
id: filter_url
provider: filter
status: true
weight: 0
settings:
filter_url_length: 72
@@ -0,0 +1,11 @@
name: 'Restricted HTML'
description: 'Provides "Restricted HTML" text format.'
type: 'Text format'
install:
- filter
config:
import:
filter: '*'
actions:
user.role.anonymous:
grantPermission: 'use text format restricted_html'
+102
View File
@@ -0,0 +1,102 @@
name: 'Standard'
description: 'Provides a standard site with commonly used features pre-configured.'
type: 'Site'
recipes:
- basic_block_type
- basic_shortcuts
- article_comment
- article_tags
- feedback_contact_form
- article_content_type
- page_content_type
- basic_html_format_editor
- full_html_format_editor
- content_search
- core_recommended_performance
- core_recommended_maintenance
- core_recommended_admin_theme
- core_recommended_front_end_theme
- user_picture
# Provides a fallback text format which is available to all users.
- restricted_html_format
- administrator_role
- content_editor_role
install:
- image
- help
- history
- config
- contextual
- menu_link_content
- datetime
- menu_ui
- options
- toolbar
- field_ui
- views_ui
- shortcut
config:
import:
claro:
- block.block.claro_help
help:
- search.page.help_search
- block.block.claro_help_search
image:
- image.style.large
- image.style.thumbnail
node:
- views.view.archive
- views.view.content
- views.view.content_recent
- views.view.frontpage
- views.view.glossary
olivero:
- block.block.olivero_help
- block.block.olivero_search_form_narrow
- block.block.olivero_search_form_wide
- block.block.olivero_syndicate
user:
- core.entity_view_mode.user.compact
- search.page.user_search
- views.view.user_admin_people
- views.view.who_s_new
- views.view.who_s_online
actions:
node.settings:
simpleConfigUpdate:
use_admin_theme: true
system.site:
simpleConfigUpdate:
page.front: /node
user.role.anonymous:
grantPermission: 'access content'
user.role.authenticated:
grantPermissions:
- 'access content'
- 'delete own files'
user.role.content_editor:
grantPermissions:
- 'access content overview'
- 'access contextual links'
- 'access files overview'
- 'access toolbar'
- 'administer url aliases'
- 'create terms in tags'
- 'create url aliases'
- 'edit own comments'
- 'edit terms in tags'
- 'delete own files'
- 'revert all revisions'
- 'view all revisions'
- 'view the administration theme'
grantPermissionsForEachNodeType:
- 'create %bundle content'
- 'delete %bundle revisions'
- 'delete own %bundle content'
- 'edit own %bundle content'
user.settings:
simpleConfigUpdate:
verify_mail: true
register: visitors_admin_approval
cancel_method: user_cancel_block
@@ -0,0 +1,23 @@
langcode: en
dependencies:
enforced:
module:
- responsive_image
name: max_1300x1300
label: 'Max 1300x1300'
effects:
04caae9a-fa3e-4ea6-ae09-9c26aec7d308:
uuid: 04caae9a-fa3e-4ea6-ae09-9c26aec7d308
id: image_scale
weight: 1
data:
width: 1300
height: 1300
upscale: false
e8c9d6ba-a017-4a87-9999-7ce52e138e1d:
uuid: e8c9d6ba-a017-4a87-9999-7ce52e138e1d
id: image_convert
weight: 2
data:
extension: webp
status: true
@@ -0,0 +1,23 @@
langcode: en
dependencies:
enforced:
module:
- responsive_image
name: max_2600x2600
label: 'Max 2600x2600'
effects:
9b311dd1-0351-45a1-9500-cd069e4670cb:
uuid: 9b311dd1-0351-45a1-9500-cd069e4670cb
id: image_scale
weight: 1
data:
width: 2600
height: 2600
upscale: false
3c42f186-7beb-4dbf-b720-bff9dfeaa677:
uuid: 3c42f186-7beb-4dbf-b720-bff9dfeaa677
id: image_convert
weight: 2
data:
extension: webp
status: true
@@ -0,0 +1,23 @@
langcode: en
dependencies:
enforced:
module:
- responsive_image
name: max_325x325
label: 'Max 325x325'
effects:
cb842cc8-682f-42a6-bd05-5a1ac726f0d8:
uuid: cb842cc8-682f-42a6-bd05-5a1ac726f0d8
id: image_scale
weight: 1
data:
width: 325
height: 325
upscale: false
f2b6c795-26ae-4130-aa18-aa120ea3ba98:
uuid: f2b6c795-26ae-4130-aa18-aa120ea3ba98
id: image_convert
weight: 2
data:
extension: webp
status: true
@@ -0,0 +1,23 @@
langcode: en
dependencies:
enforced:
module:
- responsive_image
name: max_650x650
label: 'Max 650x650'
effects:
949c201a-77f5-48f6-ba00-be91eb1aad47:
uuid: 949c201a-77f5-48f6-ba00-be91eb1aad47
id: image_scale
weight: 1
data:
width: 650
height: 650
upscale: false
4a2a7af8-8ea3-419d-b5f8-256d57016102:
uuid: 4a2a7af8-8ea3-419d-b5f8-256d57016102
id: image_convert
weight: 2
data:
extension: webp
status: true
@@ -0,0 +1,22 @@
langcode: en
status: true
dependencies:
config:
- image.style.max_1300x1300
- image.style.max_325x325
- image.style.max_650x650
id: narrow
label: Narrow
image_style_mappings:
-
image_mapping_type: sizes
image_mapping:
sizes: '(min-width: 1290px) 325px, (min-width: 851px) 25vw, (min-width: 560px) 50vw, 100vw'
sizes_image_styles:
- max_1300x1300
- max_650x650
- max_325x325
breakpoint_id: responsive_image.viewport_sizing
multiplier: 1x
breakpoint_group: responsive_image
fallback_image_style: max_325x325
@@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- image.style.max_1300x1300
- image.style.max_2600x2600
- image.style.max_325x325
- image.style.max_650x650
id: wide
label: Wide
image_style_mappings:
-
image_mapping_type: sizes
image_mapping:
sizes: '(min-width: 1290px) 1290px, 100vw'
sizes_image_styles:
- max_2600x2600
- max_1300x1300
- max_650x650
- max_325x325
breakpoint_id: responsive_image.viewport_sizing
multiplier: 1x
breakpoint_group: responsive_image
fallback_image_style: max_325x325
@@ -0,0 +1,8 @@
name: 'Standard Responsive Images'
description: 'Provides basic responsive images and accompanying image styles.'
type: 'Responsive image'
install:
- responsive_image
config:
import:
image: '*'
@@ -0,0 +1,8 @@
langcode: en
status: true
dependencies: { }
name: Tags
vid: tags
description: 'Use tags to group articles on similar topics into categories.'
weight: 0
new_revision: false
Loaded 100 of 31193 files, more files were not shown because too many files have changed in this diff. Show more