225 changed files with 18 additions and 1100 deletions
@ -0,0 +1,5 @@ |
|||||||
|
# Journal Drupal modules |
||||||
|
|
||||||
|
A collection of custom Drupal modules formerly distributed inside the Journal installation profile. |
||||||
|
|
||||||
|
The repository is intended to be installed as a single Composer package under `web/modules/custom/journal`, where Drupal will discover the individual modules contained within it. |
||||||
@ -0,0 +1,9 @@ |
|||||||
|
{ |
||||||
|
"name": "roblib/journal", |
||||||
|
"description": "Custom Drupal modules", |
||||||
|
"type": "drupal-custom-module", |
||||||
|
"license": "GPL-2.0-or-later", |
||||||
|
"require": { |
||||||
|
"php": ">=8.1" |
||||||
|
} |
||||||
|
} |
||||||
@ -1,36 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
config: |
|
||||||
- system.menu.author-tasks |
|
||||||
module: |
|
||||||
- system |
|
||||||
- user |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: authortasks |
|
||||||
theme: bartik |
|
||||||
region: content |
|
||||||
weight: -6 |
|
||||||
provider: null |
|
||||||
plugin: 'system_menu_block:author-tasks' |
|
||||||
settings: |
|
||||||
id: 'system_menu_block:author-tasks' |
|
||||||
label: 'Author tasks' |
|
||||||
provider: system |
|
||||||
label_display: visible |
|
||||||
level: 1 |
|
||||||
depth: 0 |
|
||||||
visibility: |
|
||||||
request_path: |
|
||||||
id: request_path |
|
||||||
pages: '/user/*' |
|
||||||
negate: false |
|
||||||
context_mapping: { } |
|
||||||
user_role: |
|
||||||
id: user_role |
|
||||||
roles: |
|
||||||
journal_article_creator: journal_article_creator |
|
||||||
negate: false |
|
||||||
context_mapping: |
|
||||||
user: '@user.current_user_context:current_user' |
|
||||||
@ -1,25 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
config: |
|
||||||
- system.menu.account |
|
||||||
module: |
|
||||||
- system |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
_core: |
|
||||||
default_config_hash: itSHPYmGXnBVuW6FDLy148URrBNXTe0TRtnb-yeSDHI |
|
||||||
id: bartik_account_menu |
|
||||||
theme: bartik |
|
||||||
region: hidden_blocks_collection |
|
||||||
weight: -7 |
|
||||||
provider: null |
|
||||||
plugin: 'system_menu_block:account' |
|
||||||
settings: |
|
||||||
id: 'system_menu_block:account' |
|
||||||
label: 'User account menu' |
|
||||||
provider: system |
|
||||||
label_display: visible |
|
||||||
level: 1 |
|
||||||
depth: 1 |
|
||||||
visibility: { } |
|
||||||
@ -1,25 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
config: |
|
||||||
- system.menu.tools |
|
||||||
module: |
|
||||||
- system |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
_core: |
|
||||||
default_config_hash: bHIvY3Ld-1mnMYWmNIoVPBYWQkpvHrO2jzOQhM5Y8BQ |
|
||||||
id: bartik_tools |
|
||||||
theme: bartik |
|
||||||
region: hidden_blocks_collection |
|
||||||
weight: -6 |
|
||||||
provider: null |
|
||||||
plugin: 'system_menu_block:tools' |
|
||||||
settings: |
|
||||||
id: 'system_menu_block:tools' |
|
||||||
label: Tools |
|
||||||
provider: system |
|
||||||
label_display: visible |
|
||||||
level: 1 |
|
||||||
depth: 0 |
|
||||||
visibility: { } |
|
||||||
@ -1,29 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
module: |
|
||||||
- journal_cite_this |
|
||||||
- node |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: citethis |
|
||||||
theme: bartik |
|
||||||
region: sidebar_second |
|
||||||
weight: 0 |
|
||||||
provider: null |
|
||||||
plugin: cite_this_block |
|
||||||
settings: |
|
||||||
id: cite_this_block |
|
||||||
label: 'Cite this' |
|
||||||
provider: journal_cite_this |
|
||||||
label_display: visible |
|
||||||
context_mapping: |
|
||||||
node: '@node.node_route_context:node' |
|
||||||
visibility: |
|
||||||
node_type: |
|
||||||
id: node_type |
|
||||||
bundles: |
|
||||||
journal_article: journal_article |
|
||||||
negate: false |
|
||||||
context_mapping: |
|
||||||
node: '@node.node_route_context:node' |
|
||||||
@ -1,25 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: { } |
|
||||||
_core: |
|
||||||
default_config_hash: HAWGbhacNu42B8eiIHXmi2mIB6FzFf6cuzhS7lbE9sk |
|
||||||
id: node__issue |
|
||||||
label: 'Content: Issue' |
|
||||||
tags: |
|
||||||
description: '[node:body]' |
|
||||||
image_src: '[node:field_issue_cover:entity:url]' |
|
||||||
abstract: '[node:body]' |
|
||||||
dcterms_title: '[node:title]' |
|
||||||
dcterms_type: Text |
|
||||||
dcterms_publisher: '[node:field_part_of:entity:field_journal_publisher]' |
|
||||||
dcterms_description: '[node:body]' |
|
||||||
dcterms_coverage: '[node:langcode]' |
|
||||||
dcterms_format: text/html |
|
||||||
dcterms_modified: '[node:changed:html_datetime]' |
|
||||||
dcterms_abstract: '[node:body]' |
|
||||||
citation_title: '[node:title]' |
|
||||||
citation_journal_title: '[node:field_part_of:entity:title]' |
|
||||||
citation_issue: '[node:field_issue_number]' |
|
||||||
citation_volume: '[node:field_issue_volume:entity:field_volume_number]' |
|
||||||
citation_issn: '[node:field_part_of:entity:field_journal_eissn]' |
|
||||||
citation_publication_date: '[node:field_publication_date:html_datetime]' |
|
||||||
@ -1,28 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: { } |
|
||||||
_core: |
|
||||||
default_config_hash: 3HKaUPhjQOYRWOt1XaDwJioKEC5vKHGvugzqlpBx1Rw |
|
||||||
id: node__journal_article |
|
||||||
label: 'Content: Article' |
|
||||||
tags: |
|
||||||
image_src: '[node:field_article_highlight_image:entity:image:entity:url]' |
|
||||||
dcterms_identifier: '[node:field_doi]' |
|
||||||
dcterms_title: '[node:title]' |
|
||||||
dcterms_contributor: '[node:field_authors_and_affiliations:entity:field_affiliation_contributor]' |
|
||||||
dcterms_publisher: '[node:field_part_of:entity:field_part_of:entity:field_journal_publisher]' |
|
||||||
dcterms_date: '[node:created:html_datetime]' |
|
||||||
dcterms_description: '[node:field_journal_article_abstract]' |
|
||||||
dcterms_language: '[node:langcode]' |
|
||||||
dcterms_creator: '[node:field_authors_and_affiliations:0:entity:field_affiliation_contributor:0]' |
|
||||||
dcterms_format: text/html |
|
||||||
dcterms_subject: '[node:field_article_subjects]' |
|
||||||
dcterms_is_part_of: '[node:field_part_of:entity:url]' |
|
||||||
dcterms_abstract: '[node:field_journal_article_abstract]' |
|
||||||
citation_title: '[node:title]' |
|
||||||
citation_journal_title: '[node:field_part_of:entity:field_part_of:entity:title]' |
|
||||||
citation_issue: '[node:field_part_of:entity:field_issue_number]' |
|
||||||
citation_volume: '[node:field_part_of:entity:field_issue_volume]' |
|
||||||
citation_issn: '[node:field_part_of:entity:field_part_of:entity:field_journal_eissn]' |
|
||||||
citation_publication_date: '[node:created:html_datetime]' |
|
||||||
citation_author: '[node:field_authors_and_affiliations:entity:field_affiliation_contributor]' |
|
||||||
@ -1,23 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
config: |
|
||||||
- system.menu.account |
|
||||||
module: |
|
||||||
- system |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: bartik_account_menu |
|
||||||
theme: bartik |
|
||||||
region: secondary_menu |
|
||||||
weight: 0 |
|
||||||
provider: null |
|
||||||
plugin: 'system_menu_block:account' |
|
||||||
settings: |
|
||||||
id: 'system_menu_block:account' |
|
||||||
label: 'User account menu' |
|
||||||
provider: system |
|
||||||
label_display: '0' |
|
||||||
level: 1 |
|
||||||
depth: 1 |
|
||||||
visibility: { } |
|
||||||
@ -1,22 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
module: |
|
||||||
- system |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: bartik_branding |
|
||||||
theme: bartik |
|
||||||
region: header |
|
||||||
weight: 0 |
|
||||||
provider: null |
|
||||||
plugin: system_branding_block |
|
||||||
settings: |
|
||||||
id: system_branding_block |
|
||||||
label: 'Site branding' |
|
||||||
provider: system |
|
||||||
label_display: '0' |
|
||||||
use_site_logo: true |
|
||||||
use_site_name: true |
|
||||||
use_site_slogan: true |
|
||||||
visibility: { } |
|
||||||
@ -1,19 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
module: |
|
||||||
- system |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: bartik_breadcrumbs |
|
||||||
theme: bartik |
|
||||||
region: breadcrumb |
|
||||||
weight: 0 |
|
||||||
provider: null |
|
||||||
plugin: system_breadcrumb_block |
|
||||||
settings: |
|
||||||
id: system_breadcrumb_block |
|
||||||
label: Breadcrumbs |
|
||||||
provider: system |
|
||||||
label_display: '0' |
|
||||||
visibility: { } |
|
||||||
@ -1,19 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
module: |
|
||||||
- system |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: bartik_content |
|
||||||
theme: bartik |
|
||||||
region: content |
|
||||||
weight: 0 |
|
||||||
provider: null |
|
||||||
plugin: system_main_block |
|
||||||
settings: |
|
||||||
id: system_main_block |
|
||||||
label: 'Main page content' |
|
||||||
provider: system |
|
||||||
label_display: '0' |
|
||||||
visibility: { } |
|
||||||
@ -1,23 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
config: |
|
||||||
- system.menu.footer |
|
||||||
module: |
|
||||||
- system |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: bartik_footer |
|
||||||
theme: bartik |
|
||||||
region: footer_fifth |
|
||||||
weight: 0 |
|
||||||
provider: null |
|
||||||
plugin: 'system_menu_block:footer' |
|
||||||
settings: |
|
||||||
id: 'system_menu_block:footer' |
|
||||||
label: 'Footer menu' |
|
||||||
provider: system |
|
||||||
label_display: '0' |
|
||||||
level: 1 |
|
||||||
depth: 0 |
|
||||||
visibility: { } |
|
||||||
@ -1,19 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
module: |
|
||||||
- help |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: bartik_help |
|
||||||
theme: bartik |
|
||||||
region: content |
|
||||||
weight: -30 |
|
||||||
provider: null |
|
||||||
plugin: help_block |
|
||||||
settings: |
|
||||||
id: help_block |
|
||||||
label: Help |
|
||||||
provider: help |
|
||||||
label_display: '0' |
|
||||||
visibility: { } |
|
||||||
@ -1,17 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: bartik_local_actions |
|
||||||
theme: bartik |
|
||||||
region: content |
|
||||||
weight: -20 |
|
||||||
provider: null |
|
||||||
plugin: local_actions_block |
|
||||||
settings: |
|
||||||
id: local_actions_block |
|
||||||
label: 'Primary admin actions' |
|
||||||
provider: core |
|
||||||
label_display: '0' |
|
||||||
visibility: { } |
|
||||||
@ -1,19 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: bartik_local_tasks |
|
||||||
theme: bartik |
|
||||||
region: content |
|
||||||
weight: -40 |
|
||||||
provider: null |
|
||||||
plugin: local_tasks_block |
|
||||||
settings: |
|
||||||
id: local_tasks_block |
|
||||||
label: Tabs |
|
||||||
provider: core |
|
||||||
label_display: '0' |
|
||||||
primary: true |
|
||||||
secondary: true |
|
||||||
visibility: { } |
|
||||||
@ -1,23 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
config: |
|
||||||
- system.menu.main |
|
||||||
module: |
|
||||||
- system |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: bartik_main_menu |
|
||||||
theme: bartik |
|
||||||
region: primary_menu |
|
||||||
weight: 0 |
|
||||||
provider: null |
|
||||||
plugin: 'system_menu_block:main' |
|
||||||
settings: |
|
||||||
id: 'system_menu_block:main' |
|
||||||
label: 'Main navigation' |
|
||||||
provider: system |
|
||||||
label_display: '0' |
|
||||||
level: 1 |
|
||||||
depth: 1 |
|
||||||
visibility: { } |
|
||||||
@ -1,19 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
module: |
|
||||||
- system |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: bartik_messages |
|
||||||
theme: bartik |
|
||||||
region: highlighted |
|
||||||
weight: 0 |
|
||||||
provider: null |
|
||||||
plugin: system_messages_block |
|
||||||
settings: |
|
||||||
id: system_messages_block |
|
||||||
label: 'Status messages' |
|
||||||
provider: system |
|
||||||
label_display: '0' |
|
||||||
visibility: { } |
|
||||||
@ -1,17 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: bartik_page_title |
|
||||||
theme: bartik |
|
||||||
region: content |
|
||||||
weight: -50 |
|
||||||
provider: null |
|
||||||
plugin: page_title_block |
|
||||||
settings: |
|
||||||
id: page_title_block |
|
||||||
label: 'Page title' |
|
||||||
provider: core |
|
||||||
label_display: '0' |
|
||||||
visibility: { } |
|
||||||
@ -1,19 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
module: |
|
||||||
- system |
|
||||||
theme: |
|
||||||
- bartik |
|
||||||
id: bartik_powered |
|
||||||
theme: bartik |
|
||||||
region: footer_fifth |
|
||||||
weight: 10 |
|
||||||
provider: null |
|
||||||
plugin: system_powered_by_block |
|
||||||
settings: |
|
||||||
id: system_powered_by_block |
|
||||||
label: 'Powered by Drupal' |
|
||||||
provider: system |
|
||||||
label_display: '0' |
|
||||||
visibility: { } |
|
||||||
@ -1,18 +0,0 @@ |
|||||||
id: seven_breadcrumbs |
|
||||||
theme: seven |
|
||||||
weight: 0 |
|
||||||
status: true |
|
||||||
langcode: en |
|
||||||
region: breadcrumb |
|
||||||
plugin: system_breadcrumb_block |
|
||||||
settings: |
|
||||||
id: system_breadcrumb_block |
|
||||||
label: Breadcrumbs |
|
||||||
provider: system |
|
||||||
label_display: '0' |
|
||||||
dependencies: |
|
||||||
module: |
|
||||||
- system |
|
||||||
theme: |
|
||||||
- seven |
|
||||||
visibility: { } |
|
||||||
@ -1,18 +0,0 @@ |
|||||||
id: seven_content |
|
||||||
theme: seven |
|
||||||
weight: 0 |
|
||||||
status: true |
|
||||||
langcode: en |
|
||||||
region: content |
|
||||||
plugin: system_main_block |
|
||||||
settings: |
|
||||||
id: system_main_block |
|
||||||
label: 'Main page content' |
|
||||||
provider: system |
|
||||||
label_display: '0' |
|
||||||
dependencies: |
|
||||||
module: |
|
||||||
- system |
|
||||||
theme: |
|
||||||
- seven |
|
||||||
visibility: { } |
|
||||||
@ -1,18 +0,0 @@ |
|||||||
id: seven_help |
|
||||||
theme: seven |
|
||||||
weight: 0 |
|
||||||
status: true |
|
||||||
langcode: en |
|
||||||
region: help |
|
||||||
plugin: help_block |
|
||||||
settings: |
|
||||||
id: help_block |
|
||||||
label: 'Help' |
|
||||||
provider: help |
|
||||||
label_display: '0' |
|
||||||
dependencies: |
|
||||||
module: |
|
||||||
- help |
|
||||||
theme: |
|
||||||
- seven |
|
||||||
visibility: { } |
|
||||||
@ -1,15 +0,0 @@ |
|||||||
id: seven_local_actions |
|
||||||
theme: seven |
|
||||||
weight: -10 |
|
||||||
status: true |
|
||||||
langcode: en |
|
||||||
region: content |
|
||||||
plugin: local_actions_block |
|
||||||
settings: |
|
||||||
id: local_actions_block |
|
||||||
label: Primary admin actions |
|
||||||
label_display: '0' |
|
||||||
dependencies: |
|
||||||
theme: |
|
||||||
- seven |
|
||||||
visibility: { } |
|
||||||
@ -1,18 +0,0 @@ |
|||||||
id: seven_login |
|
||||||
theme: seven |
|
||||||
weight: 10 |
|
||||||
status: true |
|
||||||
langcode: en |
|
||||||
region: content |
|
||||||
plugin: user_login_block |
|
||||||
settings: |
|
||||||
id: user_login_block |
|
||||||
label: 'User login' |
|
||||||
provider: user |
|
||||||
label_display: visible |
|
||||||
dependencies: |
|
||||||
module: |
|
||||||
- user |
|
||||||
theme: |
|
||||||
- seven |
|
||||||
visibility: { } |
|
||||||
@ -1,17 +0,0 @@ |
|||||||
id: seven_messages |
|
||||||
theme: seven |
|
||||||
weight: 0 |
|
||||||
status: true |
|
||||||
langcode: en |
|
||||||
region: highlighted |
|
||||||
plugin: system_messages_block |
|
||||||
settings: |
|
||||||
id: system_messages_block |
|
||||||
label: 'Status messages' |
|
||||||
provider: system |
|
||||||
label_display: '0' |
|
||||||
dependencies: |
|
||||||
module: |
|
||||||
- system |
|
||||||
theme: |
|
||||||
- seven |
|
||||||
@ -1,17 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
theme: |
|
||||||
- seven |
|
||||||
id: seven_page_title |
|
||||||
theme: seven |
|
||||||
region: header |
|
||||||
weight: -30 |
|
||||||
provider: null |
|
||||||
plugin: page_title_block |
|
||||||
settings: |
|
||||||
id: page_title_block |
|
||||||
label: 'Page title' |
|
||||||
provider: core |
|
||||||
label_display: '0' |
|
||||||
visibility: { } |
|
||||||
@ -1,17 +0,0 @@ |
|||||||
id: seven_primary_local_tasks |
|
||||||
theme: seven |
|
||||||
weight: 0 |
|
||||||
status: true |
|
||||||
langcode: en |
|
||||||
region: header |
|
||||||
plugin: local_tasks_block |
|
||||||
settings: |
|
||||||
id: local_tasks_block |
|
||||||
label: Primary tabs |
|
||||||
label_display: '0' |
|
||||||
primary: true |
|
||||||
secondary: false |
|
||||||
dependencies: |
|
||||||
theme: |
|
||||||
- seven |
|
||||||
visibility: { } |
|
||||||
@ -1,17 +0,0 @@ |
|||||||
id: seven_secondary_local_tasks |
|
||||||
theme: seven |
|
||||||
weight: 0 |
|
||||||
status: true |
|
||||||
langcode: en |
|
||||||
region: pre_content |
|
||||||
plugin: local_tasks_block |
|
||||||
settings: |
|
||||||
id: local_tasks_block |
|
||||||
label: Secondary tabs |
|
||||||
label_display: '0' |
|
||||||
primary: false |
|
||||||
secondary: true |
|
||||||
dependencies: |
|
||||||
theme: |
|
||||||
- seven |
|
||||||
visibility: { } |
|
||||||
@ -1,5 +0,0 @@ |
|||||||
id: text |
|
||||||
label: 'Text' |
|
||||||
revision: 0 |
|
||||||
description: 'A text block contains a title and a body.' |
|
||||||
langcode: en |
|
||||||
@ -1,7 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: { } |
|
||||||
id: comment |
|
||||||
label: 'Default comments' |
|
||||||
target_entity_type_id: node |
|
||||||
description: 'Allows commenting on content' |
|
||||||
@ -1,31 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
config: |
|
||||||
- block_content.type.text |
|
||||||
- field.field.block_content.text.body |
|
||||||
module: |
|
||||||
- text |
|
||||||
id: block_content.text.default |
|
||||||
targetEntityType: block_content |
|
||||||
bundle: text |
|
||||||
mode: default |
|
||||||
content: |
|
||||||
body: |
|
||||||
type: text_textarea_with_summary |
|
||||||
weight: 0 |
|
||||||
settings: |
|
||||||
rows: 9 |
|
||||||
summary_rows: 3 |
|
||||||
placeholder: '' |
|
||||||
third_party_settings: { } |
|
||||||
region: content |
|
||||||
info: |
|
||||||
type: string_textfield |
|
||||||
weight: -5 |
|
||||||
settings: |
|
||||||
size: 60 |
|
||||||
placeholder: '' |
|
||||||
third_party_settings: { } |
|
||||||
region: content |
|
||||||
hidden: { } |
|
||||||
@ -1,33 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
config: |
|
||||||
- comment.type.comment |
|
||||||
- field.field.comment.comment.comment_body |
|
||||||
module: |
|
||||||
- text |
|
||||||
id: comment.comment.default |
|
||||||
targetEntityType: comment |
|
||||||
bundle: comment |
|
||||||
mode: default |
|
||||||
content: |
|
||||||
author: |
|
||||||
weight: -2 |
|
||||||
region: content |
|
||||||
comment_body: |
|
||||||
type: text_textarea |
|
||||||
weight: 11 |
|
||||||
region: content |
|
||||||
settings: |
|
||||||
rows: 5 |
|
||||||
placeholder: '' |
|
||||||
third_party_settings: { } |
|
||||||
subject: |
|
||||||
type: string_textfield |
|
||||||
weight: 10 |
|
||||||
region: content |
|
||||||
settings: |
|
||||||
size: 60 |
|
||||||
placeholder: '' |
|
||||||
third_party_settings: { } |
|
||||||
hidden: { } |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
config: |
|
||||||
- block_content.type.text |
|
||||||
- field.field.block_content.text.body |
|
||||||
module: |
|
||||||
- text |
|
||||||
id: block_content.text.default |
|
||||||
targetEntityType: block_content |
|
||||||
bundle: text |
|
||||||
mode: default |
|
||||||
content: |
|
||||||
body: |
|
||||||
type: text_default |
|
||||||
weight: 0 |
|
||||||
label: hidden |
|
||||||
settings: { } |
|
||||||
third_party_settings: { } |
|
||||||
region: content |
|
||||||
hidden: { } |
|
||||||
@ -1,24 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
config: |
|
||||||
- comment.type.comment |
|
||||||
- field.field.comment.comment.comment_body |
|
||||||
module: |
|
||||||
- text |
|
||||||
id: comment.comment.default |
|
||||||
targetEntityType: comment |
|
||||||
bundle: comment |
|
||||||
mode: default |
|
||||||
content: |
|
||||||
comment_body: |
|
||||||
label: hidden |
|
||||||
type: text_default |
|
||||||
weight: 0 |
|
||||||
region: content |
|
||||||
settings: { } |
|
||||||
third_party_settings: { } |
|
||||||
links: |
|
||||||
weight: 100 |
|
||||||
region: content |
|
||||||
hidden: { } |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
config: |
|
||||||
- block_content.type.text |
|
||||||
- field.storage.block_content.body |
|
||||||
module: |
|
||||||
- text |
|
||||||
id: block_content.text.body |
|
||||||
field_name: body |
|
||||||
entity_type: block_content |
|
||||||
bundle: text |
|
||||||
label: Body |
|
||||||
description: '' |
|
||||||
required: false |
|
||||||
translatable: true |
|
||||||
default_value: { } |
|
||||||
default_value_callback: '' |
|
||||||
settings: |
|
||||||
display_summary: false |
|
||||||
field_type: text_with_summary |
|
||||||
@ -1,20 +0,0 @@ |
|||||||
langcode: en |
|
||||||
status: true |
|
||||||
dependencies: |
|
||||||
config: |
|
||||||
- comment.type.comment |
|
||||||
- field.storage.comment.comment_body |
|
||||||
module: |
|
||||||
- text |
|
||||||
id: comment.comment.comment_body |
|
||||||
field_name: comment_body |
|
||||||
entity_type: comment |
|
||||||
bundle: comment |
|
||||||
label: Comment |
|
||||||
description: '' |
|
||||||
required: true |
|
||||||
translatable: true |
|
||||||
default_value: { } |
|
||||||
default_value_callback: '' |
|
||||||
settings: { } |
|
||||||
field_type: text_long |
|
||||||
@ -1,5 +0,0 @@ |
|||||||
id: administrator |
|
||||||
label: Administrator |
|
||||||
weight: 2 |
|
||||||
langcode: en |
|
||||||
is_admin: true |
|
||||||
@ -1,16 +0,0 @@ |
|||||||
anonymous: Anonymous |
|
||||||
verify_mail: true |
|
||||||
notify: |
|
||||||
cancel_confirm: true |
|
||||||
password_reset: true |
|
||||||
status_activated: true |
|
||||||
status_blocked: false |
|
||||||
status_canceled: false |
|
||||||
register_admin_created: true |
|
||||||
register_no_approval_required: true |
|
||||||
register_pending_approval: true |
|
||||||
register: admin_only |
|
||||||
cancel_method: user_cancel_block |
|
||||||
password_reset_timeout: 86400 |
|
||||||
password_strength: true |
|
||||||
langcode: en |
|
||||||
@ -1,88 +0,0 @@ |
|||||||
name: Journal |
|
||||||
type: profile |
|
||||||
description: 'Content types and workflows for scholarly content.' |
|
||||||
core_version_requirement: '^8.0 || ^9' |
|
||||||
install: |
|
||||||
- address |
|
||||||
- field_group |
|
||||||
- field_permissions |
|
||||||
- panelizer |
|
||||||
- views |
|
||||||
- views_entity_form_field |
|
||||||
- media |
|
||||||
- entity_browser |
|
||||||
- menu_ui |
|
||||||
- lightning_media |
|
||||||
- embed |
|
||||||
- bibcite |
|
||||||
- bibcite_bibtex |
|
||||||
- bibcite_ris |
|
||||||
- bibcite_import |
|
||||||
- bibcite_endnote |
|
||||||
- bibcite_marc |
|
||||||
- bibcite_entity |
|
||||||
- journal_types |
|
||||||
- journal_cite_this |
|
||||||
- journal_news |
|
||||||
- journal_editorial |
|
||||||
- journal_peer_review |
|
||||||
- journal_references |
|
||||||
- journal_site |
|
||||||
- metatag |
|
||||||
- metatag_dc |
|
||||||
- metatag_dc_advanced |
|
||||||
- metatag_google_scholar |
|
||||||
- autosave_form |
|
||||||
- block_content |
|
||||||
- breakpoint |
|
||||||
- ckeditor |
|
||||||
- config |
|
||||||
- conflict |
|
||||||
- contextual |
|
||||||
- menu_link_content |
|
||||||
- datetime |
|
||||||
- quickedit |
|
||||||
- editor |
|
||||||
- entity_block |
|
||||||
- help |
|
||||||
- history |
|
||||||
- node |
|
||||||
- options |
|
||||||
- path |
|
||||||
- pathauto |
|
||||||
- page_cache |
|
||||||
- redirect |
|
||||||
- taxonomy |
|
||||||
- text |
|
||||||
- dblog |
|
||||||
- shortcut |
|
||||||
- toolbar |
|
||||||
- field_ui |
|
||||||
- file |
|
||||||
- rdf |
|
||||||
- views_ui |
|
||||||
- diff |
|
||||||
- image_widget_crop |
|
||||||
- moderation_dashboard |
|
||||||
- moderation_sidebar |
|
||||||
- lightning_core |
|
||||||
- lightning_api |
|
||||||
- lightning_layout |
|
||||||
- lightning_contact_form |
|
||||||
- lightning_page |
|
||||||
- lightning_search |
|
||||||
- lightning_landing_page |
|
||||||
- lightning_media_audio |
|
||||||
- lightning_media_bulk_upload |
|
||||||
- lightning_media_document |
|
||||||
- lightning_media_image |
|
||||||
- lightning_media_instagram |
|
||||||
- lightning_media_slideshow |
|
||||||
- lightning_media_twitter |
|
||||||
- lightning_media_video |
|
||||||
- lightning_banner_block |
|
||||||
- lightning_map_block |
|
||||||
themes: |
|
||||||
- bartik |
|
||||||
- seven |
|
||||||
- claro |
|
||||||
@ -1,14 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
/** |
|
||||||
* @file |
|
||||||
* Install, update and uninstall hooks for the Journal subprofile. |
|
||||||
*/ |
|
||||||
|
|
||||||
/** |
|
||||||
* Implements hook_install(). |
|
||||||
*/ |
|
||||||
function journal_install() { |
|
||||||
// Add code here perform additional site information tasks, generate sample |
|
||||||
// content, etc. |
|
||||||
} |
|
||||||
@ -1,24 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
/** |
|
||||||
* @file |
|
||||||
* Enables modules and site configuration for the Journal profile. |
|
||||||
*/ |
|
||||||
|
|
||||||
// Add any custom code here, like hook implementations. |
|
||||||
function journal_install_tasks() { |
|
||||||
include_once(DRUPAL_ROOT . '/' . drupal_get_path('profile', 'lightning') . '/lightning.profile'); |
|
||||||
|
|
||||||
$tasks = []; |
|
||||||
|
|
||||||
$tasks['lightning_prepare_administrator'] = []; |
|
||||||
$tasks['lightning_set_front_page'] = []; |
|
||||||
$tasks['lightning_disallow_free_registration'] = []; |
|
||||||
$tasks['lightning_grant_shortcut_access'] = []; |
|
||||||
$tasks['lightning_set_default_theme'] = []; |
|
||||||
$tasks['lightning_set_logo'] = []; |
|
||||||
$tasks['lightning_alter_frontpage_view'] = []; |
|
||||||
|
|
||||||
return $tasks; |
|
||||||
|
|
||||||
} |
|
||||||
@ -1,6 +1,6 @@ |
|||||||
name: 'Journal Devel' |
name: 'Journal Devel' |
||||||
type: module |
type: module |
||||||
description: 'Development extensions to the Journal install profile.' |
description: 'Development extensions for the Journal modules.' |
||||||
core_version_requirement: '^8.0 || ^9' |
core_version_requirement: '^8.0 || ^9' |
||||||
package: 'Journal' |
package: 'Journal' |
||||||
dependencies: |
dependencies: |
||||||
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
@ -1,6 +1,6 @@ |
|||||||
name: 'Journal Site' |
name: 'Journal Site' |
||||||
type: module |
type: module |
||||||
description: 'Site-wide configurations for the journal profile' |
description: 'Site-wide configuration for the Journal modules.' |
||||||
core_version_requirement: '^8.0 || ^9 || ^10' |
core_version_requirement: '^8.0 || ^9 || ^10' |
||||||
package: 'Journal' |
package: 'Journal' |
||||||
dependencies: |
dependencies: |
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue