Start adding testimonials
This commit is contained in:
parent
811ac5d9f2
commit
b8ca93ff2b
29 changed files with 1649 additions and 3 deletions
|
@ -0,0 +1,22 @@
|
|||
uuid: 592e2538-47ff-4ab9-a213-d0657f975bae
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- node.type.testimonial
|
||||
id: node.testimonial.promote
|
||||
field_name: promote
|
||||
entity_type: node
|
||||
bundle: testimonial
|
||||
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
|
|
@ -0,0 +1,18 @@
|
|||
uuid: bfc7affd-f035-4412-ac31-1bf84d11fc52
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- node.type.testimonial
|
||||
id: node.testimonial.title
|
||||
field_name: title
|
||||
entity_type: node
|
||||
bundle: testimonial
|
||||
label: Name
|
||||
description: ''
|
||||
required: true
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string
|
|
@ -0,0 +1,112 @@
|
|||
uuid: b20a3539-3067-458a-b0ee-28b7d79f37db
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.testimonial.body
|
||||
- field.field.node.testimonial.field_image
|
||||
- field.field.node.testimonial.field_role
|
||||
- field.field.node.testimonial.field_url
|
||||
- image.style.thumbnail
|
||||
- node.type.testimonial
|
||||
module:
|
||||
- image
|
||||
- link
|
||||
- path
|
||||
- text
|
||||
id: node.testimonial.default
|
||||
targetEntityType: node
|
||||
bundle: testimonial
|
||||
mode: default
|
||||
content:
|
||||
body:
|
||||
type: text_textarea_with_summary
|
||||
weight: 2
|
||||
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: { }
|
||||
field_image:
|
||||
type: image_image
|
||||
weight: 1
|
||||
region: content
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
preview_image_style: thumbnail
|
||||
third_party_settings: { }
|
||||
field_role:
|
||||
type: string_textfield
|
||||
weight: 121
|
||||
region: content
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
field_url:
|
||||
type: link_default
|
||||
weight: 122
|
||||
region: content
|
||||
settings:
|
||||
placeholder_url: ''
|
||||
placeholder_title: ''
|
||||
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: { }
|
||||
simple_sitemap:
|
||||
weight: 10
|
||||
region: content
|
||||
settings: { }
|
||||
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,65 @@
|
|||
uuid: 046819a6-eb81-4ab6-8840-19d16df1623f
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.testimonial.body
|
||||
- field.field.node.testimonial.field_image
|
||||
- field.field.node.testimonial.field_role
|
||||
- field.field.node.testimonial.field_url
|
||||
- image.style.wide
|
||||
- node.type.testimonial
|
||||
module:
|
||||
- image
|
||||
- link
|
||||
- text
|
||||
- user
|
||||
id: node.testimonial.default
|
||||
targetEntityType: node
|
||||
bundle: testimonial
|
||||
mode: default
|
||||
content:
|
||||
body:
|
||||
type: text_default
|
||||
label: hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
field_image:
|
||||
type: image
|
||||
label: hidden
|
||||
settings:
|
||||
image_link: ''
|
||||
image_style: wide
|
||||
image_loading:
|
||||
attribute: eager
|
||||
third_party_settings: { }
|
||||
weight: -1
|
||||
region: content
|
||||
field_role:
|
||||
type: string
|
||||
label: above
|
||||
settings:
|
||||
link_to_entity: false
|
||||
third_party_settings: { }
|
||||
weight: 101
|
||||
region: content
|
||||
field_url:
|
||||
type: link
|
||||
label: above
|
||||
settings:
|
||||
trim_length: 80
|
||||
url_only: false
|
||||
url_plain: false
|
||||
rel: ''
|
||||
target: ''
|
||||
third_party_settings: { }
|
||||
weight: 102
|
||||
region: content
|
||||
links:
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 100
|
||||
region: content
|
||||
hidden: { }
|
|
@ -0,0 +1,48 @@
|
|||
uuid: 057f8496-ab40-4cf3-8055-0984ce62d37a
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.teaser
|
||||
- field.field.node.testimonial.body
|
||||
- field.field.node.testimonial.field_image
|
||||
- field.field.node.testimonial.field_role
|
||||
- field.field.node.testimonial.field_url
|
||||
- image.style.medium
|
||||
- node.type.testimonial
|
||||
module:
|
||||
- image
|
||||
- text
|
||||
- user
|
||||
id: node.testimonial.teaser
|
||||
targetEntityType: node
|
||||
bundle: testimonial
|
||||
mode: teaser
|
||||
content:
|
||||
body:
|
||||
type: text_summary_or_trimmed
|
||||
label: hidden
|
||||
settings:
|
||||
trim_length: 600
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
field_image:
|
||||
type: image
|
||||
label: hidden
|
||||
settings:
|
||||
image_link: content
|
||||
image_style: medium
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: -1
|
||||
region: content
|
||||
links:
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 100
|
||||
region: content
|
||||
hidden:
|
||||
field_role: true
|
||||
field_url: true
|
24
config/sync/field.field.node.testimonial.body.yml
Normal file
24
config/sync/field.field.node.testimonial.body.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
uuid: eb0dc10b-1f51-403a-a29c-81a514d3c1fb
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.body
|
||||
- node.type.testimonial
|
||||
module:
|
||||
- text
|
||||
id: node.testimonial.body
|
||||
field_name: body
|
||||
entity_type: node
|
||||
bundle: testimonial
|
||||
label: Body
|
||||
description: ''
|
||||
required: true
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
display_summary: false
|
||||
required_summary: false
|
||||
allowed_formats: { }
|
||||
field_type: text_with_summary
|
38
config/sync/field.field.node.testimonial.field_image.yml
Normal file
38
config/sync/field.field.node.testimonial.field_image.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
uuid: 45b17dac-d3d3-404c-9cbd-1849d5313faf
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_image
|
||||
- node.type.testimonial
|
||||
module:
|
||||
- image
|
||||
id: node.testimonial.field_image
|
||||
field_name: field_image
|
||||
entity_type: node
|
||||
bundle: testimonial
|
||||
label: Image
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
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: ''
|
||||
alt: ''
|
||||
title: ''
|
||||
width: null
|
||||
height: null
|
||||
field_type: image
|
19
config/sync/field.field.node.testimonial.field_role.yml
Normal file
19
config/sync/field.field.node.testimonial.field_role.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
uuid: deca6bdc-45c1-440a-9cd1-acc4efcb56d1
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_role
|
||||
- node.type.testimonial
|
||||
id: node.testimonial.field_role
|
||||
field_name: field_role
|
||||
entity_type: node
|
||||
bundle: testimonial
|
||||
label: Role
|
||||
description: ''
|
||||
required: true
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string
|
23
config/sync/field.field.node.testimonial.field_url.yml
Normal file
23
config/sync/field.field.node.testimonial.field_url.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
uuid: db0e9a12-0bbf-48b6-8222-35953e834107
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_url
|
||||
- node.type.testimonial
|
||||
module:
|
||||
- link
|
||||
id: node.testimonial.field_url
|
||||
field_name: field_url
|
||||
entity_type: node
|
||||
bundle: testimonial
|
||||
label: URL
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
title: 0
|
||||
link_type: 16
|
||||
field_type: link
|
|
@ -15,10 +15,10 @@ type: image
|
|||
settings:
|
||||
target_type: file
|
||||
display_field: false
|
||||
display_default: false
|
||||
display_default: true
|
||||
uri_scheme: public
|
||||
default_image:
|
||||
uuid: null
|
||||
uuid: ''
|
||||
alt: ''
|
||||
title: ''
|
||||
width: null
|
||||
|
|
21
config/sync/field.storage.node.field_role.yml
Normal file
21
config/sync/field.storage.node.field_role.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
uuid: 3fe93000-f6bb-4831-9119-6e66c6b398a8
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
id: node.field_role
|
||||
field_name: field_role
|
||||
entity_type: node
|
||||
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
|
19
config/sync/field.storage.node.field_url.yml
Normal file
19
config/sync/field.storage.node.field_url.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
uuid: 1093e57b-ddc1-44c2-944f-6b00de29706c
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- link
|
||||
- node
|
||||
id: node.field_url
|
||||
field_name: field_url
|
||||
entity_type: node
|
||||
type: link
|
||||
settings: { }
|
||||
module: link
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
17
config/sync/node.type.testimonial.yml
Normal file
17
config/sync/node.type.testimonial.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
uuid: 6ea76ee7-ab35-489e-af1b-68f67b60729d
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- menu_ui
|
||||
third_party_settings:
|
||||
menu_ui:
|
||||
available_menus: { }
|
||||
parent: ''
|
||||
name: Testimonial
|
||||
type: testimonial
|
||||
description: 'A testimonial from a client.'
|
||||
help: null
|
||||
new_revision: true
|
||||
preview_mode: 0
|
||||
display_submitted: false
|
Loading…
Add table
Add a link
Reference in a new issue