Move into nested docroot

This commit is contained in:
Rob Davies 2017-02-13 15:31:17 +00:00
parent 83a0d3a149
commit c8b70abde9
13405 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,10 @@
block:
active:
limit: 5
new:
limit: 5
topics:
hot_threshold: 15
order: 1
page_limit: 25
vocabulary: forums

View file

@ -0,0 +1,10 @@
langcode: en
status: true
dependencies:
enforced:
module:
- forum
id: comment_forum
label: Comment_forum
target_entity_type_id: node
description: 'Default comment field'

View file

@ -0,0 +1,21 @@
langcode: en
status: true
dependencies:
config:
- node.type.forum
id: node.forum.promote
field_name: promote
entity_type: node
bundle: forum
label: 'Promoted to front page'
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean

View file

@ -0,0 +1,17 @@
langcode: en
status: true
dependencies:
config:
- node.type.forum
id: node.forum.title
field_name: title
entity_type: node
bundle: forum
label: Subject
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View file

@ -0,0 +1,30 @@
langcode: en
status: true
dependencies:
config:
- comment.type.comment_forum
- field.field.comment.comment_forum.comment_body
module:
- text
id: comment.comment_forum.default
targetEntityType: comment
bundle: comment_forum
mode: default
content:
author:
weight: -2
comment_body:
type: text_textarea
weight: 11
settings:
rows: 5
placeholder: ''
third_party_settings: { }
subject:
type: string_textfield
weight: 10
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }

View file

@ -0,0 +1,67 @@
langcode: en
status: true
dependencies:
config:
- field.field.node.forum.body
- field.field.node.forum.comment_forum
- field.field.node.forum.taxonomy_forums
- node.type.forum
module:
- comment
- text
id: node.forum.default
targetEntityType: node
bundle: forum
mode: default
content:
body:
type: text_textarea_with_summary
weight: 27
settings:
rows: 9
summary_rows: 3
placeholder: ''
third_party_settings: { }
comment_forum:
type: comment_default
weight: 20
settings: { }
third_party_settings: { }
created:
type: datetime_timestamp
weight: 10
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
settings:
display_label: true
weight: 15
third_party_settings: { }
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 16
third_party_settings: { }
taxonomy_forums:
type: options_select
weight: 26
settings: { }
third_party_settings: { }
title:
type: string_textfield
weight: -5
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }

View file

@ -0,0 +1,27 @@
langcode: en
status: true
dependencies:
config:
- field.field.taxonomy_term.forums.forum_container
- taxonomy.vocabulary.forums
module:
- text
id: taxonomy_term.forums.default
targetEntityType: taxonomy_term
bundle: forums
mode: default
content:
description:
type: text_textfield
weight: 0
settings: { }
third_party_settings: { }
name:
type: string_textfield
weight: -5
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
forum_container: true

View file

@ -0,0 +1,22 @@
langcode: en
status: true
dependencies:
config:
- comment.type.comment_forum
- field.field.comment.comment_forum.comment_body
module:
- text
id: comment.comment_forum.default
targetEntityType: comment
bundle: comment_forum
mode: default
content:
comment_body:
label: hidden
type: text_default
weight: 0
settings: { }
third_party_settings: { }
links:
weight: 100
hidden: { }

View file

@ -0,0 +1,42 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_display.comment.comment_forum.default
- field.field.node.forum.body
- field.field.node.forum.comment_forum
- field.field.node.forum.taxonomy_forums
- node.type.forum
module:
- comment
- text
- user
id: node.forum.default
targetEntityType: node
bundle: forum
mode: default
content:
body:
label: hidden
type: text_default
weight: 0
settings: { }
third_party_settings: { }
comment_forum:
label: hidden
type: comment_default
weight: 20
settings:
view_mode: default
pager_id: 0
third_party_settings: { }
links:
weight: 100
taxonomy_forums:
type: entity_reference_label
weight: -1
label: above
settings:
link: true
third_party_settings: { }
hidden: { }

View file

@ -0,0 +1,35 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.forum.body
- field.field.node.forum.comment_forum
- field.field.node.forum.taxonomy_forums
- node.type.forum
module:
- text
- user
id: node.forum.teaser
targetEntityType: node
bundle: forum
mode: teaser
content:
body:
label: hidden
type: text_summary_or_trimmed
weight: 100
settings:
trim_length: 600
third_party_settings: { }
links:
weight: 101
taxonomy_forums:
type: entity_reference_label
weight: 10
label: above
settings:
link: true
third_party_settings: { }
hidden:
comment_forum: true

View file

@ -0,0 +1,21 @@
langcode: en
status: true
dependencies:
config:
- field.field.taxonomy_term.forums.forum_container
- taxonomy.vocabulary.forums
module:
- text
id: taxonomy_term.forums.default
targetEntityType: taxonomy_term
bundle: forums
mode: default
content:
description:
type: text_default
weight: 0
settings: { }
third_party_settings: { }
label: above
hidden:
forum_container: true

View file

@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- comment.type.comment_forum
- field.storage.comment.comment_body
module:
- text
id: comment.comment_forum.comment_body
field_name: comment_body
entity_type: comment
bundle: comment_forum
label: Comment
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View file

@ -0,0 +1,21 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.body
- node.type.forum
module:
- text
id: node.forum.body
field_name: body
entity_type: node
bundle: forum
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
field_type: text_with_summary

View file

@ -0,0 +1,32 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.comment_forum
- node.type.forum
module:
- comment
id: node.forum.comment_forum
field_name: comment_forum
entity_type: node
bundle: forum
label: Comments
description: ''
required: true
translatable: true
default_value:
-
status: 2
cid: 0
last_comment_name: null
last_comment_timestamp: 0
last_comment_uid: 0
comment_count: 0
default_value_callback: ''
settings:
default_mode: 0
per_page: 50
form_location: true
anonymous: 0
preview: 1
field_type: comment

View file

@ -0,0 +1,26 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.taxonomy_forums
- node.type.forum
- taxonomy.vocabulary.forums
id: node.forum.taxonomy_forums
field_name: taxonomy_forums
entity_type: node
bundle: forum
label: Forums
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
forums: forums
sort:
field: _none
auto_create: true
field_type: entity_reference

View file

@ -0,0 +1,22 @@
langcode: en
status: true
dependencies:
config:
- field.storage.taxonomy_term.forum_container
- taxonomy.vocabulary.forums
id: taxonomy_term.forums.forum_container
field_name: forum_container
entity_type: taxonomy_term
bundle: forums
label: Container
description: ''
required: true
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'Yes'
off_label: 'No'
field_type: boolean

View file

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- comment
- node
id: node.comment_forum
field_name: comment_forum
entity_type: node
type: comment
settings:
comment_type: comment_forum
module: comment
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View file

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- node
- taxonomy
id: node.taxonomy_forums
field_name: taxonomy_forums
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

View file

@ -0,0 +1,17 @@
langcode: en
status: true
dependencies:
module:
- taxonomy
id: taxonomy_term.forum_container
field_name: forum_container
entity_type: taxonomy_term
type: boolean
settings: { }
module: core
locked: true
cardinality: 1
translatable: false
indexes: { }
persist_with_no_fields: false
custom_storage: false

View file

@ -0,0 +1,13 @@
langcode: en
status: true
dependencies:
enforced:
module:
- forum
name: 'Forum topic'
type: forum
description: 'A <em>forum topic</em> starts a new discussion thread within a forum.'
help: ''
new_revision: false
preview_mode: 1
display_submitted: true

View file

@ -0,0 +1,40 @@
langcode: en
status: true
dependencies:
config:
- node.type.forum
module:
- node
id: node.forum
targetEntityType: node
bundle: forum
types:
- 'schema:Discussion'
fieldMappings:
title:
properties:
- 'schema:name'
created:
properties:
- 'schema:dateCreated'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
changed:
properties:
- 'schema:dateModified'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
body:
properties:
- 'schema:text'
uid:
properties:
- 'schema:author'
mapping_type: rel
comment_count:
properties:
- 'schema:interactionCount'
datatype_callback:
callable: 'Drupal\rdf\SchemaOrgDataConverter::interactionCount'
arguments:
interaction_type: UserComments

View file

@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.forums
module:
- taxonomy
id: taxonomy_term.forums
targetEntityType: taxonomy_term
bundle: forums
types:
- 'sioc:Container'
- 'sioc:Forum'
fieldMappings:
name:
properties:
- 'schema:name'
description:
properties:
- 'schema:description'

View file

@ -0,0 +1,11 @@
langcode: en
status: true
dependencies:
enforced:
module:
- forum
name: Forums
vid: forums
description: 'Forum navigation vocabulary'
hierarchy: 1
weight: -10

View file

@ -0,0 +1,66 @@
# Schema for the configuration files of the Forum module.
forum.settings:
type: config_object
label: 'Forum settings'
mapping:
block:
type: mapping
label: 'Forum blocks'
mapping:
active:
type: mapping
label: 'Active forum block'
mapping:
limit:
type: integer
label: 'Active forum Count'
new:
type: mapping
label: 'New forum topics'
mapping:
limit:
type: integer
label: 'New forum Count'
topics:
type: mapping
label: 'Forum topics block'
mapping:
hot_threshold:
type: integer
label: 'Hot topic threshold'
order:
type: integer
label: 'Forum default topic order'
page_limit:
type: integer
label: 'Topics per page'
vocabulary:
type: string
label: 'Forum vocabulary ID'
block.settings.forum_active_block:
type: block_settings
label: 'Active forum topics block'
mapping:
properties:
type: sequence
label: 'Properties'
sequence:
type: string
block_count:
type: integer
label: 'Block count'
block.settings.forum_new_block:
type: block_settings
label: 'New forum topics block'
mapping:
properties:
type: sequence
label: 'Properties'
sequence:
type: string
block_count:
type: integer
label: 'Block count'