Compare commits
3 Commits
713e8ff4dd
...
d2f4e9b152
Author | SHA1 | Date | |
---|---|---|---|
d2f4e9b152 | |||
14f6c14f1d | |||
da7593da94 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
!composer.json
|
!composer.json
|
||||||
!composer.lock
|
!composer.lock
|
||||||
|
!update_project.sh
|
||||||
!.gitignore
|
!.gitignore
|
||||||
!config
|
!config
|
||||||
!config/*
|
!config/*
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
"drupal/entity_extra_field": "^2.0@alpha",
|
"drupal/entity_extra_field": "^2.0@alpha",
|
||||||
"drupal/entity_reference_revisions": "^1.9",
|
"drupal/entity_reference_revisions": "^1.9",
|
||||||
"drupal/facets": "^2.0",
|
"drupal/facets": "^2.0",
|
||||||
|
"drupal/hide_revision_field": "^2.2",
|
||||||
"drupal/password_strength": "^2.0@beta",
|
"drupal/password_strength": "^2.0@beta",
|
||||||
"drupal/restui": "^1.20",
|
"drupal/restui": "^1.20",
|
||||||
"drupal/route_condition": "^2.0",
|
"drupal/route_condition": "^2.0",
|
||||||
|
46
composer.lock
generated
46
composer.lock
generated
@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "4f7932d19fab24ae940c83c845b1e821",
|
"content-hash": "0a8bb516bfae1eb37a84d5e78f504281",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "asm89/stack-cors",
|
"name": "asm89/stack-cors",
|
||||||
@ -2960,6 +2960,50 @@
|
|||||||
"irc": "irc://irc.freenode.org/drupal-search-api"
|
"irc": "irc://irc.freenode.org/drupal-search-api"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/hide_revision_field",
|
||||||
|
"version": "2.2.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/hide_revision_field.git",
|
||||||
|
"reference": "8.x-2.2"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/hide_revision_field-8.x-2.2.zip",
|
||||||
|
"reference": "8.x-2.2",
|
||||||
|
"shasum": "fd26577c66b6105e2a7cb1df16b2270cf21dfc04"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^8 || ^9"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "8.x-2.2",
|
||||||
|
"datestamp": "1606459114",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "covered",
|
||||||
|
"message": "Covered by Drupal's security advisory policy"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0-or-later"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "NickDickinsonWilde",
|
||||||
|
"homepage": "https://www.drupal.org/user/3094661"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Controls visibility of the revision field on content add/edit forms.",
|
||||||
|
"homepage": "https://www.drupal.org/project/hide_revision_field",
|
||||||
|
"support": {
|
||||||
|
"source": "https://git.drupalcode.org/project/hide_revision_field"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "drupal/jquery_ui",
|
"name": "drupal/jquery_ui",
|
||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
|
@ -7,4 +7,4 @@ _core:
|
|||||||
id: medium
|
id: medium
|
||||||
label: 'Default medium date'
|
label: 'Default medium date'
|
||||||
locked: false
|
locked: false
|
||||||
pattern: 'D, m/d/Y - H:i'
|
pattern: 'D, d/m/Y - H:i'
|
||||||
|
@ -7,4 +7,4 @@ _core:
|
|||||||
id: short
|
id: short
|
||||||
label: 'Default short date'
|
label: 'Default short date'
|
||||||
locked: false
|
locked: false
|
||||||
pattern: 'm/d/Y - H:i'
|
pattern: 'd/m/Y - H:i'
|
||||||
|
@ -0,0 +1,70 @@
|
|||||||
|
uuid: 61cedd57-e60e-4304-afbd-6397326a1468
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- opencase_entities.oc_activity_type.phone_call
|
||||||
|
module:
|
||||||
|
- datetime
|
||||||
|
- hide_revision_field
|
||||||
|
id: oc_activity.phone_call.default
|
||||||
|
targetEntityType: oc_activity
|
||||||
|
bundle: phone_call
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
activity_date_time:
|
||||||
|
type: datetime_default
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
name:
|
||||||
|
type: string_textfield
|
||||||
|
weight: 4
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
oc_provider:
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
weight: 2
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
oc_target:
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
weight: 1
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
revision_log:
|
||||||
|
type: hide_revision_field_log_widget
|
||||||
|
weight: 5
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
rows: 5
|
||||||
|
placeholder: ''
|
||||||
|
show: true
|
||||||
|
default: ''
|
||||||
|
permission_based: false
|
||||||
|
allow_user_settings: true
|
||||||
|
third_party_settings: { }
|
||||||
|
time_taken:
|
||||||
|
type: number
|
||||||
|
weight: 3
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
hidden:
|
||||||
|
description: true
|
||||||
|
status: true
|
34
config/core.entity_form_display.oc_event.piss_up.default.yml
Normal file
34
config/core.entity_form_display.oc_event.piss_up.default.yml
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
uuid: af8b76e1-d9c9-4e4b-8a00-0831b7822170
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.oc_event.piss_up.field_test
|
||||||
|
- opencase_entities.oc_event_type.piss_up
|
||||||
|
module:
|
||||||
|
- datetime
|
||||||
|
id: oc_event.piss_up.default
|
||||||
|
targetEntityType: oc_event
|
||||||
|
bundle: piss_up
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
field_test:
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
weight: 51
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
name:
|
||||||
|
type: string_textfield
|
||||||
|
weight: -4
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
hidden:
|
||||||
|
status: true
|
@ -0,0 +1,59 @@
|
|||||||
|
uuid: 92697c37-4dbe-4b1d-a974-526a3300e2ba
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- opencase_entities.oc_activity_type.application
|
||||||
|
module:
|
||||||
|
- user
|
||||||
|
id: oc_activity.application.default
|
||||||
|
targetEntityType: oc_activity
|
||||||
|
bundle: application
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
label: hidden
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 3
|
||||||
|
region: content
|
||||||
|
oc_provider:
|
||||||
|
type: entity_reference_label
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 1
|
||||||
|
region: content
|
||||||
|
oc_target:
|
||||||
|
type: entity_reference_label
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
time_taken:
|
||||||
|
type: number_decimal
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
thousand_separator: ''
|
||||||
|
decimal_separator: .
|
||||||
|
scale: 2
|
||||||
|
prefix_suffix: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 2
|
||||||
|
region: content
|
||||||
|
user_id:
|
||||||
|
type: author
|
||||||
|
label: above
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 4
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
activity_date_time: true
|
||||||
|
description: true
|
||||||
|
search_api_excerpt: true
|
@ -0,0 +1,68 @@
|
|||||||
|
uuid: 80ad891c-ae0f-4bbf-a9da-e9aee9db720c
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- opencase_entities.oc_activity_type.phone_call
|
||||||
|
module:
|
||||||
|
- datetime
|
||||||
|
- user
|
||||||
|
id: oc_activity.phone_call.default
|
||||||
|
targetEntityType: oc_activity
|
||||||
|
bundle: phone_call
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
activity_date_time:
|
||||||
|
type: datetime_default
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
timezone_override: ''
|
||||||
|
format_type: medium
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
label: hidden
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 4
|
||||||
|
region: content
|
||||||
|
oc_provider:
|
||||||
|
type: entity_reference_label
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 2
|
||||||
|
region: content
|
||||||
|
oc_target:
|
||||||
|
type: entity_reference_label
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 1
|
||||||
|
region: content
|
||||||
|
time_taken:
|
||||||
|
type: number_decimal
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
thousand_separator: ''
|
||||||
|
decimal_separator: .
|
||||||
|
scale: 2
|
||||||
|
prefix_suffix: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 3
|
||||||
|
region: content
|
||||||
|
user_id:
|
||||||
|
type: author
|
||||||
|
label: above
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 5
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
description: true
|
||||||
|
search_api_excerpt: true
|
25
config/core.entity_view_display.oc_event.piss_up.default.yml
Normal file
25
config/core.entity_view_display.oc_event.piss_up.default.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
uuid: d4b5d087-cb11-45a3-aeb7-9a7657f25e07
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.oc_event.piss_up.field_test
|
||||||
|
- opencase_entities.oc_event_type.piss_up
|
||||||
|
module:
|
||||||
|
- datetime
|
||||||
|
id: oc_event.piss_up.default
|
||||||
|
targetEntityType: oc_event
|
||||||
|
bundle: piss_up
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
field_test:
|
||||||
|
type: entity_reference_label
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 51
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
name: true
|
||||||
|
search_api_excerpt: true
|
@ -81,6 +81,7 @@ module:
|
|||||||
views_autosubmit: 0
|
views_autosubmit: 0
|
||||||
views_summarize: 0
|
views_summarize: 0
|
||||||
views_ui: 0
|
views_ui: 0
|
||||||
|
hide_revision_field: 1
|
||||||
views: 10
|
views: 10
|
||||||
paragraphs: 11
|
paragraphs: 11
|
||||||
standard: 1000
|
standard: 1000
|
||||||
|
21
config/field.field.oc_event.piss_up.field_test.yml
Normal file
21
config/field.field.oc_event.piss_up.field_test.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
uuid: aef69a74-1ce8-4730-ae74-00508301ce5c
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_event.field_test
|
||||||
|
- opencase_entities.oc_event_type.piss_up
|
||||||
|
id: oc_event.piss_up.field_test
|
||||||
|
field_name: field_test
|
||||||
|
entity_type: oc_event
|
||||||
|
bundle: piss_up
|
||||||
|
label: test
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:oc_actor'
|
||||||
|
handler_settings: { }
|
||||||
|
field_type: entity_reference
|
19
config/field.storage.oc_event.field_test.yml
Normal file
19
config/field.storage.oc_event.field_test.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
uuid: 9f37ed7d-87ee-4d6c-a4a2-f69077b51db0
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
id: oc_event.field_test
|
||||||
|
field_name: field_test
|
||||||
|
entity_type: oc_event
|
||||||
|
type: entity_reference
|
||||||
|
settings:
|
||||||
|
target_type: oc_actor
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: -1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
6
config/opencase_entities.oc_event_type.piss_up.yml
Normal file
6
config/opencase_entities.oc_event_type.piss_up.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
uuid: 114bb324-9157-430e-9d69-a7ae31a0cbad
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: piss_up
|
||||||
|
label: Piss-up
|
@ -88,17 +88,16 @@ display:
|
|||||||
multi_type: separator
|
multi_type: separator
|
||||||
separator: ', '
|
separator: ', '
|
||||||
field_api_classes: false
|
field_api_classes: false
|
||||||
oc_target:
|
delete_oc_activity:
|
||||||
id: oc_target
|
id: delete_oc_activity
|
||||||
table: oc_activity_field_data
|
table: oc_activity
|
||||||
field: oc_target
|
field: delete_oc_activity
|
||||||
relationship: none
|
relationship: none
|
||||||
group_type: group
|
group_type: group
|
||||||
admin_label: ''
|
admin_label: ''
|
||||||
entity_type: oc_activity
|
entity_type: oc_activity
|
||||||
entity_field: oc_target
|
plugin_id: entity_link_delete
|
||||||
plugin_id: field
|
label: 'Link to delete Activity'
|
||||||
label: Target
|
|
||||||
exclude: false
|
exclude: false
|
||||||
alter:
|
alter:
|
||||||
alter_text: false
|
alter_text: false
|
||||||
@ -139,20 +138,9 @@ display:
|
|||||||
hide_empty: false
|
hide_empty: false
|
||||||
empty_zero: false
|
empty_zero: false
|
||||||
hide_alter_empty: true
|
hide_alter_empty: true
|
||||||
click_sort_column: target_id
|
text: delete
|
||||||
type: entity_reference_label
|
output_url_as_text: false
|
||||||
settings:
|
absolute: false
|
||||||
link: true
|
|
||||||
group_column: target_id
|
|
||||||
group_columns: { }
|
|
||||||
group_rows: true
|
|
||||||
delta_limit: 0
|
|
||||||
delta_offset: 0
|
|
||||||
delta_reversed: false
|
|
||||||
delta_first_last: false
|
|
||||||
multi_type: separator
|
|
||||||
separator: ', '
|
|
||||||
field_api_classes: false
|
|
||||||
pager:
|
pager:
|
||||||
type: mini
|
type: mini
|
||||||
options:
|
options:
|
||||||
|
1
update_project.sh
Executable file
1
update_project.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
git pull && composer install && drush config:import --source=../config
|
Reference in New Issue
Block a user