Create a block of testimonials
Sorted by weight, added using the Weight module. https://www.drupal.org/project/weight If two testimonials have the same weight, they are sorted by their created date.
This commit is contained in:
parent
b8ca93ff2b
commit
cfb98aea2f
15 changed files with 381 additions and 14 deletions
|
@ -7,6 +7,7 @@ dependencies:
|
|||
- field.field.node.testimonial.field_image
|
||||
- field.field.node.testimonial.field_role
|
||||
- field.field.node.testimonial.field_url
|
||||
- field.field.node.testimonial.field_weight
|
||||
- image.style.thumbnail
|
||||
- node.type.testimonial
|
||||
module:
|
||||
|
@ -14,6 +15,7 @@ dependencies:
|
|||
- link
|
||||
- path
|
||||
- text
|
||||
- weight
|
||||
id: node.testimonial.default
|
||||
targetEntityType: node
|
||||
bundle: testimonial
|
||||
|
@ -59,6 +61,12 @@ content:
|
|||
placeholder_url: ''
|
||||
placeholder_title: ''
|
||||
third_party_settings: { }
|
||||
field_weight:
|
||||
type: weight_selector
|
||||
weight: 123
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
path:
|
||||
type: path
|
||||
weight: 30
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue