Skip to content

Commit

Permalink
Closes #3086 Adding demo content for publications (#3585)
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Berndt <[email protected]>
  • Loading branch information
trackleft and bberndt-uaz authored Oct 18, 2024
1 parent d22adfa commit 22a9860
Show file tree
Hide file tree
Showing 13 changed files with 855 additions and 13 deletions.
1 change: 1 addition & 0 deletions modules/custom/az_demo/az_demo.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies:
- az_paragraphs_text_media
- az_paragraphs_splitscreen
- az_person
- az_publication
- az_media
- az_finder
- migrate:migrate
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
langcode: en
status: true
dependencies:
config:
- views.view.az_publications
module:
- views
theme:
- az_barrio
id: az_barrio_views_block__az_publications_az_author_person
theme: az_barrio
region: content
weight: 10
provider: null
plugin: 'views_block:az_publications-az_author_person'
settings:
id: 'views_block:az_publications-az_author_person'
label: ''
label_display: visible
provider: views
context_mapping: { }
views_label: ''
items_per_page: none
visibility:
request_path:
id: request_path
negate: false
pages: /person/*
169 changes: 169 additions & 0 deletions modules/custom/az_demo/data/az_demo_az_author_author.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
{
"authors": [
{
"id":1,
"drop_particle": "",
"fname": "Wilbur",
"link": "",
"literal": "",
"lname": "Wildcat",
"nondrop_particle": "",
"suffix": "",
"person": "Wilbur Wildcat"
},
{
"id":2,
"drop_particle": "",
"fname": "Wilma",
"link": "",
"literal": "",
"lname": "Wildcat",
"nondrop_particle": "",
"suffix": "Ph.D.",
"person": "Wilma Wildcat"
},
{
"id":3,
"drop_particle": "",
"fname": "Anders",
"link": "http://www.example.edu",
"literal": "",
"lname": "And",
"nondrop_particle": "",
"suffix": "M.A.",
"person": "Anders And"
},
{
"id":4,
"drop_particle": "",
"fname": "Donald",
"link": "",
"literal": "",
"lname": "Giovanni",
"nondrop_particle": "",
"suffix": "Ph.D.",
"person": "Donald Giovanni"
},
{
"id":5,
"drop_particle": "",
"fname": "Urania",
"link": "",
"literal": "",
"lname": "Muse",
"nondrop_particle": "",
"suffix": "Ph.D.",
"person": "Urania Muse"
},
{
"id":6,
"drop_particle": "",
"fname": "Barbara",
"link": "",
"literal": "",
"lname": "Strozzi",
"nondrop_particle": "",
"suffix": "M.M.",
"person": "Barbara Strozzi"
},
{
"id":7,
"drop_particle": "de",
"fname": "Antonio",
"link": "",
"literal": "",
"lname": "Espinosa",
"nondrop_particle": "",
"suffix": "M.S.",
"person": "Antonio de Espinosa"
},
{
"id":8,
"drop_particle": "",
"fname": "Janet",
"link": "",
"literal": "",
"lname": "Horne",
"nondrop_particle": "",
"suffix": "III",
"person": "Janet Horne"
},
{
"id":9,
"drop_particle": "",
"fname": "",
"link": "",
"literal": "Sir Thomas Urquhart",
"lname": "",
"nondrop_particle": "",
"suffix": "Ph.D.",
"person": "Thomas Urquhart"
},
{
"id":10,
"drop_particle": "",
"fname": "Alcofribas",
"link": "",
"literal": "",
"lname": "Nasier",
"nondrop_particle": "",
"suffix": "Ph.D.",
"person": "Alcofribas Nasier"
},
{
"id":11,
"drop_particle": "",
"fname": "José",
"link": "",
"literal": "",
"lname": "An'ersen",
"nondrop_particle": "",
"suffix": "M.A., Ph.D.",
"person": "José An'ersen"
},
{
"id":12,
"drop_particle": "",
"fname": "Grimme",
"link": "",
"literal": "",
"lname": "Ælling",
"nondrop_particle": "",
"suffix": "Jr",
"person": "Grimme Ælling"
},
{
"id":13,
"drop_particle": "",
"fname": "Hans",
"link": "",
"literal": "",
"lname": "Christian Andersen",
"nondrop_particle": "",
"suffix": "",
"person": ""
},
{
"id":14,
"drop_particle": "van",
"fname": "Ludwig",
"link": "",
"literal": "",
"lname": "Beethoven",
"nondrop_particle": "",
"suffix": "",
"person": ""
},
{
"id":15,
"drop_particle": "",
"fname": "Vincent",
"link": "",
"literal": "",
"lname": "Gogh",
"nondrop_particle": "van",
"suffix": "",
"person": ""
}
]
}
11 changes: 11 additions & 0 deletions modules/custom/az_demo/data/az_demo_menu_links.json
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,17 @@
"expanded": false,
"enabled": true,
"weight": "22"
},
{
"link_id": "41",
"parent_link_id": "0",
"menu": "main",
"title": "Publications",
"urlpath": "/publications",
"external": false,
"expanded": true,
"enabled": true,
"weight": "1"
}
]
}
Loading

0 comments on commit 22a9860

Please sign in to comment.