Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 232e0465 authored by Gilmar Lima's avatar Gilmar Lima Committed by gilmarfdelima
Browse files

OEL-1026: Create oe_whitelabel_event module and export configuration.

parent c6124426
No related branches found
No related tags found
1 merge request!76OEL-1026: [oe_whitelabel] Style the event content type
......@@ -9,32 +9,28 @@
"php": ">=7.4",
"cweagans/composer-patches": "^1.7",
"drupal/core": "^8.9 || ^9.2",
"drupal/twig_field_value": "^2.0",
"openeuropa/oe_bootstrap_theme": "0.1.202202072010"
},
"require-dev": {
"composer/installers": "^1.11",
"drupal/better_exposed_filters": "^5.0",
"drupal/config_devel": "~1.2",
"drupal/core-composer-scaffold": "^8.9 || ^9.2",
"drupal/ctools": "^3.7",
"drupal/config_devel": "~1.2",
"drupal/better_exposed_filters": "^5.0",
"drupal/drupal-extension": "~4.1",
"drupal/file_link": "^2.0.4",
"drupal/pathauto": "^1.8",
"drupal/search_api": "^1.21",
"drupal/search_api_autocomplete": "^1.5",
"drush/drush": "^10.3",
"easyrdf/easyrdf": "1.0.0 as 0.9.1",
"egulias/email-validator": "^2.1.22 || ^3.0",
"openeuropa/code-review": "^1.7 || ^2.0",
"openeuropa/code-review": "1.7",
"openeuropa/composer-artifacts": "~0.1",
"openeuropa/drupal-core-require-dev": "^8.9 || ^9.2",
"openeuropa/oe_authentication": "^1.4",
"openeuropa/oe_corporate_blocks": "^4.4",
"openeuropa/oe_multilingual": "^1.9",
"openeuropa/oe_starter_content": "1.x-dev",
"openeuropa/task-runner-drupal-project-symlink": "^1.0",
"phpspec/prophecy-phpunit": "^1 || ^2",
"openeuropa/oe_contact_forms": "~1.1"
"easyrdf/easyrdf": "1.0.0 as 0.9.1",
"drupal/search_api": "^1.21",
"drupal/search_api_autocomplete": "^1.5",
"openeuropa/oe_starter_content": "1.x-dev"
},
"scripts": {
"post-install-cmd": "./vendor/bin/run drupal:site-setup",
......@@ -66,12 +62,6 @@
"web-root": "./build"
}
},
"_readme": [
"Explicit minimum version requirement of drupal/ctools module due to D9.2 compatability.",
"Explicit requirement for drupal/file_link due to https://www.drupal.org/project/file_link/issues/3147517. It can be removed when oe_media requires version 2.0.4 or above.",
"Explicit requirement for drupal/pathauto due to D9.2 compatability according to https://www.drupal.org/node/2979476.",
"Explicit requirement for egulias/email-validator due to https://www.drupal.org/project/drupal/issues/3061074#comment-14300579. It can be removed when Drupal core 9.2 support is droppped."
],
"installer-paths": {
"build/core": [
"type:drupal-core"
......@@ -93,6 +83,14 @@
}
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"cweagans/composer-patches": true,
"phpro/grumphp": true,
"composer/installers": true,
"drupal/core-composer-scaffold": true,
"openeuropa/composer-artifacts": true
}
}
}
# OpenEuropa Whitelabel Event
\ No newline at end of file
langcode: en
status: true
dependencies: { }
id: oe_whitelabel_news_date
label: 'OE Whitelabel News date'
locked: false
pattern: 'd F Y'
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.full
- field.field.node.oe_event.body
- field.field.node.oe_event.oe_documents
- field.field.node.oe_event.oe_event_dates
- field.field.node.oe_event.oe_featured_media
- field.field.node.oe_event.oe_location
- field.field.node.oe_event.oe_summary
- node.type.oe_event
module:
- address
- datetime_range
- text
- user
id: node.oe_event.full
targetEntityType: node
bundle: oe_event
mode: full
content:
body:
type: text_default
weight: 1
region: content
label: above
settings: { }
third_party_settings: { }
links:
weight: 7
region: content
settings: { }
third_party_settings: { }
oe_documents:
type: entity_reference_entity_view
weight: 6
region: content
label: above
settings:
link: true
view_mode: default
third_party_settings: { }
oe_event_dates:
type: daterange_default
label: inline
settings:
timezone_override: ''
format_type: oe_whitelabel_news_date
separator: to
third_party_settings: { }
weight: 4
region: content
oe_featured_media:
type: entity_reference_entity_view
weight: 3
region: content
label: hidden
settings:
link: true
view_mode: default
third_party_settings: { }
oe_location:
type: address_default
label: inline
settings: { }
third_party_settings: { }
weight: 5
region: content
oe_summary:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 2
region: content
hidden: { }
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.oe_event.body
- field.field.node.oe_event.oe_documents
- field.field.node.oe_event.oe_event_dates
- field.field.node.oe_event.oe_featured_media
- field.field.node.oe_event.oe_location
- field.field.node.oe_event.oe_summary
- node.type.oe_event
module:
- address
- datetime_range
- text
- user
id: node.oe_event.teaser
targetEntityType: node
bundle: oe_event
mode: teaser
content:
oe_event_dates:
type: daterange_default
label: hidden
settings:
timezone_override: ''
format_type: oe_whitelabel_news_date
separator: to
third_party_settings: { }
weight: 4
region: content
oe_location:
type: address_default
label: hidden
settings: { }
third_party_settings: { }
weight: 5
region: content
oe_summary:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 2
region: content
hidden:
body: true
links: true
oe_documents: true
oe_featured_media: true
name: OpenEuropa Whitelabel Event
type: module
description: Adds additional functionality to the News module
package: OpenEuropa Whitelabel Theme
core_version_requirement: ^8.9 || ^9.2
dependencies:
- drupal:twig_field_value
- oe_whitelabel:oe_whitelabel_helper
- oe_starter_content:oe_starter_content_event
config_devel:
install:
- core.entity_view_display.node.oe_event.full
- core.entity_view_display.node.oe_event.teaser
- core.date_format.oe_whitelabel_news_date
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment