Skip to content

Commit

Permalink
Merge pull request #200 from SU-SWS/feature/newsroom-layout-paragraphs
Browse files Browse the repository at this point in the history
SDSS-830: Merge newsroom layout paragraphs feature branch
  • Loading branch information
joegl authored Aug 2, 2023
2 parents 8490284 + ed94648 commit 7fe4ea1
Show file tree
Hide file tree
Showing 82 changed files with 1,735 additions and 90 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@
"drupal/shs": "^2.0@RC",
"drupal/smart_date": "^3.5",
"drupal/smart_trim": "^2.0",
"drupal/stage_file_proxy": "^2.0",
"drupal/taxonomy_entity_index": "^1.8",
"drupal/taxonomy_menu": "^3.5",
"drupal/token_or": "^2.0",
Expand Down
99 changes: 98 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions config/envs/dev/stage_file_proxy.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
hotlink: false
origin: 'https://sitename-prod.stanford.edu'
origin_dir: 'sites/[sitename]/files'
use_imagecache_root: false
verify: false
excluded_extensions: ''
6 changes: 6 additions & 0 deletions config/envs/local/stage_file_proxy.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
hotlink: false
origin: 'https://sitename-prod.stanford.edu'
origin_dir: 'sites/[sitename]/files'
use_imagecache_root: false
verify: false
excluded_extensions: ''
6 changes: 6 additions & 0 deletions config/envs/stage/stage_file_proxy.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
hotlink: false
origin: 'https://sitename-prod.stanford.edu'
origin_dir: 'sites/[sitename]/files'
use_imagecache_root: false
verify: false
excluded_extensions: ''
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ stackable: false
storage: folder
folder: ../config/envs/dev
module:
stage_file_proxy: 0
acquia_purge: 0
paranoia: 0
purge: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module:
dblog: 0
devel: 0
devel_php: 0
stage_file_proxy: 0
theme: { }
complete_list: { }
partial_list: { }
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ stackable: false
storage: folder
folder: ../config/envs/stage
module:
stage_file_proxy: 0
acquia_purge: 0
paranoia: 0
purge: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ dependencies:
- field.field.node.stanford_news.su_shared_tags
- node.type.stanford_news
module:
- change_labels
- datetime
- field_group
- layout_paragraphs
- link
- media_library
- metatag
- paragraphs
- scheduler
- shs
- stanford_intranet
Expand Down Expand Up @@ -182,17 +183,18 @@ content:
placeholder: ''
third_party_settings: { }
su_news_components:
type: entity_reference_paragraphs
weight: 3
type: layout_paragraphs
weight: 5
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: closed
add_mode: dropdown
form_display_mode: default
default_paragraph_type: stanford_wysiwyg
third_party_settings: { }
preview_view_mode: default
nesting_depth: 0
require_layouts: 1
empty_message: ''
third_party_settings:
change_labels:
add_another: ''
field_label_overwrite: ''
su_news_featured_media:
type: media_library_widget
weight: 8
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
uuid: 9f0bf4e8-a27d-405e-9ada-11de3310affc
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.callout_quote.su_callout_author
- field.field.paragraph.callout_quote.su_callout_author_title
- field.field.paragraph.callout_quote.su_callout_bgcolor_alt
- field.field.paragraph.callout_quote.su_callout_quote
- field.field.paragraph.callout_quote.su_select_font_sizing
- paragraphs.paragraphs_type.callout_quote
module:
- text
id: paragraph.callout_quote.default
targetEntityType: paragraph
bundle: callout_quote
mode: default
content:
su_callout_author:
type: text_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_callout_author_title:
type: text_textfield
weight: 4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_callout_bgcolor_alt:
type: options_select
weight: 0
region: content
settings: { }
third_party_settings: { }
su_callout_quote:
type: text_textarea
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
su_select_font_sizing:
type: options_select
weight: 1
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
uuid: 4021176a-bc82-407d-afd3-7bd9499c0a46
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.editorial_sidebar.su_sidebar_bgcolor_alt
- field.field.paragraph.editorial_sidebar.su_sidebar_body
- field.field.paragraph.editorial_sidebar.su_sidebar_title
- field.field.paragraph.editorial_sidebar.su_sidebar_title_size
- paragraphs.paragraphs_type.editorial_sidebar
module:
- text
id: paragraph.editorial_sidebar.default
targetEntityType: paragraph
bundle: editorial_sidebar
mode: default
content:
su_sidebar_bgcolor_alt:
type: options_select
weight: 0
region: content
settings: { }
third_party_settings: { }
su_sidebar_body:
type: text_textarea
weight: 3
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
su_sidebar_title:
type: text_textfield
weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_sidebar_title_size:
type: options_select
weight: 1
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
Loading

0 comments on commit 7fe4ea1

Please sign in to comment.