mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Merge branch 'logs2x' into 2.x
This commit is contained in:
commit
108317558c
|
@ -16,7 +16,9 @@
|
|||
}
|
||||
],
|
||||
"require": {
|
||||
"drupal/core": "^9.0.0"
|
||||
"drupal/core": "^9.0.0",
|
||||
"drupal/log": "2.x-dev",
|
||||
"drupal/token": "^1.7"
|
||||
},
|
||||
"minimum-stability": "dev"
|
||||
}
|
||||
|
|
|
@ -10,6 +10,12 @@ distribution:
|
|||
name: farmOS
|
||||
exclusive: true
|
||||
|
||||
# Required modules.
|
||||
dependencies:
|
||||
# Depend on the options module until State Machine does.
|
||||
# @see https://www.drupal.org/project/state_machine/issues/3144828
|
||||
- options
|
||||
|
||||
# Install modules and theme.
|
||||
install:
|
||||
- block
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- log
|
||||
- text
|
||||
id: log.notes
|
||||
field_name: notes
|
||||
entity_type: log
|
||||
type: text_long
|
||||
settings: { }
|
||||
module: text
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
9
modules/core/field/farm_field.info.yml
Normal file
9
modules/core/field/farm_field.info.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
name: farmOS Fields
|
||||
description: Provides common field storage definitions for farmOS entity types.
|
||||
type: module
|
||||
package: farmOS
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- drupal:field
|
||||
- drupal:text
|
||||
- log:log
|
|
@ -0,0 +1,20 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.notes
|
||||
- log.type.activity
|
||||
module:
|
||||
- text
|
||||
id: log.activity.notes
|
||||
field_name: notes
|
||||
entity_type: log
|
||||
bundle: activity
|
||||
label: Notes
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: text_long
|
|
@ -0,0 +1,9 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: activity
|
||||
label: Activity
|
||||
description: ''
|
||||
name_pattern: 'Activity log [log:id]'
|
||||
workflow: log_default
|
||||
new_revision: true
|
9
modules/log/activity/farm_activity.info.yml
Normal file
9
modules/log/activity/farm_activity.info.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
name: Activity log
|
||||
description: Adds an Activity log type.
|
||||
type: module
|
||||
package: farmOS
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- farm:farm_field
|
||||
- log:log
|
||||
- token:token
|
|
@ -0,0 +1,20 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.notes
|
||||
- log.type.harvest
|
||||
module:
|
||||
- text
|
||||
id: log.harvest.notes
|
||||
field_name: notes
|
||||
entity_type: log
|
||||
bundle: harvest
|
||||
label: Notes
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: text_long
|
9
modules/log/harvest/config/install/log.type.harvest.yml
Normal file
9
modules/log/harvest/config/install/log.type.harvest.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: harvest
|
||||
label: Harvest
|
||||
description: ''
|
||||
name_pattern: 'Harvest log [log:id]'
|
||||
workflow: log_default
|
||||
new_revision: true
|
9
modules/log/harvest/farm_harvest.info.yml
Normal file
9
modules/log/harvest/farm_harvest.info.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
name: Harvest log
|
||||
description: Adds an Harvest log type.
|
||||
type: module
|
||||
package: farmOS
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- farm:farm_field
|
||||
- log:log
|
||||
- token:token
|
|
@ -0,0 +1,20 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.notes
|
||||
- log.type.input
|
||||
module:
|
||||
- text
|
||||
id: log.input.notes
|
||||
field_name: notes
|
||||
entity_type: log
|
||||
bundle: input
|
||||
label: Notes
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: text_long
|
9
modules/log/input/config/install/log.type.input.yml
Normal file
9
modules/log/input/config/install/log.type.input.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: input
|
||||
label: Input
|
||||
description: ''
|
||||
name_pattern: 'Input log [log:id]'
|
||||
workflow: log_default
|
||||
new_revision: true
|
9
modules/log/input/farm_input.info.yml
Normal file
9
modules/log/input/farm_input.info.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
name: Input log
|
||||
description: Adds an Input log type.
|
||||
type: module
|
||||
package: farmOS
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- farm:farm_field
|
||||
- log:log
|
||||
- token:token
|
|
@ -0,0 +1,20 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.notes
|
||||
- log.type.lab_test
|
||||
module:
|
||||
- text
|
||||
id: log.lab_test.notes
|
||||
field_name: notes
|
||||
entity_type: log
|
||||
bundle: lab_test
|
||||
label: Notes
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: text_long
|
|
@ -0,0 +1,9 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: lab_test
|
||||
label: 'Lab test'
|
||||
description: ''
|
||||
name_pattern: 'Lab test log [log:id]'
|
||||
workflow: log_default
|
||||
new_revision: true
|
9
modules/log/lab_test/farm_lab_test.info.yml
Normal file
9
modules/log/lab_test/farm_lab_test.info.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
name: Lab test log
|
||||
description: Adds a Lab test log type.
|
||||
type: module
|
||||
package: farmOS
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- farm:farm_field
|
||||
- log:log
|
||||
- token:token
|
|
@ -0,0 +1,20 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.notes
|
||||
- log.type.maintenance
|
||||
module:
|
||||
- text
|
||||
id: log.maintenance.notes
|
||||
field_name: notes
|
||||
entity_type: log
|
||||
bundle: maintenance
|
||||
label: Notes
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: text_long
|
|
@ -0,0 +1,9 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: maintenance
|
||||
label: Maintenance
|
||||
description: ''
|
||||
name_pattern: 'Maintenance log [log:id]'
|
||||
workflow: log_default
|
||||
new_revision: true
|
9
modules/log/maintenance/farm_maintenance.info.yml
Normal file
9
modules/log/maintenance/farm_maintenance.info.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
name: Maintenance log
|
||||
description: Adds a Maintenance log type.
|
||||
type: module
|
||||
package: farmOS
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- farm:farm_field
|
||||
- log:log
|
||||
- token:token
|
|
@ -0,0 +1,20 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.notes
|
||||
- log.type.observation
|
||||
module:
|
||||
- text
|
||||
id: log.observation.notes
|
||||
field_name: notes
|
||||
entity_type: log
|
||||
bundle: observation
|
||||
label: Notes
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: text_long
|
|
@ -0,0 +1,9 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: observation
|
||||
label: Observation
|
||||
description: ''
|
||||
name_pattern: 'Observation log [log:id]'
|
||||
workflow: log_default
|
||||
new_revision: true
|
9
modules/log/observation/farm_observation.info.yml
Normal file
9
modules/log/observation/farm_observation.info.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
name: Observation log
|
||||
description: Adds an Observation log type.
|
||||
type: module
|
||||
package: farmOS
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- farm:farm_field
|
||||
- log:log
|
||||
- token:token
|
|
@ -0,0 +1,20 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.notes
|
||||
- log.type.purchase
|
||||
module:
|
||||
- text
|
||||
id: log.purchase.notes
|
||||
field_name: notes
|
||||
entity_type: log
|
||||
bundle: purchase
|
||||
label: Notes
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: text_long
|
|
@ -0,0 +1,9 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: purchase
|
||||
label: Purchase
|
||||
description: ''
|
||||
name_pattern: 'Purchase log [log:id]'
|
||||
workflow: log_default
|
||||
new_revision: true
|
9
modules/log/purchase/farm_purchase.info.yml
Normal file
9
modules/log/purchase/farm_purchase.info.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
name: Purchase log
|
||||
description: Adds a Purchase log type.
|
||||
type: module
|
||||
package: farmOS
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- farm:farm_field
|
||||
- log:log
|
||||
- token:token
|
|
@ -0,0 +1,20 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.notes
|
||||
- log.type.sale
|
||||
module:
|
||||
- text
|
||||
id: log.sale.notes
|
||||
field_name: notes
|
||||
entity_type: log
|
||||
bundle: sale
|
||||
label: Notes
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: text_long
|
9
modules/log/sale/config/install/log.type.sale.yml
Normal file
9
modules/log/sale/config/install/log.type.sale.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: sale
|
||||
label: Sale
|
||||
description: ''
|
||||
name_pattern: 'Sale log [log:id]'
|
||||
workflow: log_default
|
||||
new_revision: true
|
9
modules/log/sale/farm_sale.info.yml
Normal file
9
modules/log/sale/farm_sale.info.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
name: Sale log
|
||||
description: Adds a Sale log type.
|
||||
type: module
|
||||
package: farmOS
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- farm:farm_field
|
||||
- log:log
|
||||
- token:token
|
|
@ -0,0 +1,20 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.notes
|
||||
- log.type.seeding
|
||||
module:
|
||||
- text
|
||||
id: log.seeding.notes
|
||||
field_name: notes
|
||||
entity_type: log
|
||||
bundle: seeding
|
||||
label: Notes
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: text_long
|
9
modules/log/seeding/config/install/log.type.seeding.yml
Normal file
9
modules/log/seeding/config/install/log.type.seeding.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: seeding
|
||||
label: Seeding
|
||||
description: ''
|
||||
name_pattern: 'Seeding log [log:id]'
|
||||
workflow: log_default
|
||||
new_revision: true
|
9
modules/log/seeding/farm_seeding.info.yml
Normal file
9
modules/log/seeding/farm_seeding.info.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
name: Seeding log
|
||||
description: Adds a Seeding log type.
|
||||
type: module
|
||||
package: farmOS
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- farm:farm_field
|
||||
- log:log
|
||||
- token:token
|
|
@ -0,0 +1,20 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.notes
|
||||
- log.type.transplanting
|
||||
module:
|
||||
- text
|
||||
id: log.transplanting.notes
|
||||
field_name: notes
|
||||
entity_type: log
|
||||
bundle: transplanting
|
||||
label: Notes
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: text_long
|
|
@ -0,0 +1,9 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: transplanting
|
||||
label: Transplanting
|
||||
description: ''
|
||||
name_pattern: 'Transplanting log [log:id]'
|
||||
workflow: log_default
|
||||
new_revision: true
|
9
modules/log/transplanting/farm_transplanting.info.yml
Normal file
9
modules/log/transplanting/farm_transplanting.info.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
name: Transplanting log
|
||||
description: Adds a Transplanting log type.
|
||||
type: module
|
||||
package: farmOS
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- farm:farm_field
|
||||
- log:log
|
||||
- token:token
|
Loading…
Reference in a new issue