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:
Oliver Davies 2025-05-16 00:37:24 +01:00
parent b8ca93ff2b
commit cfb98aea2f
15 changed files with 381 additions and 14 deletions

View file

@ -0,0 +1,24 @@
uuid: 439fa0fe-e67a-4ea2-9459-c6407159086f
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_weight
- node.type.testimonial
module:
- weight
id: node.testimonial.field_weight
field_name: field_weight
entity_type: node
bundle: testimonial
label: Weight
description: ''
required: true
translatable: false
default_value:
-
value: '0'
default_value_callback: ''
settings:
range: '20'
field_type: weight