Browse Source

field type changes, add enforced module

pull/756/head
Natkeeran 8 years ago
parent
commit
5d9487a9c9
  1. 12
      islandora_collection/config/install/field.field.fedora_resource.collection.field_description.yml
  2. 17
      islandora_collection/config/install/field.field.fedora_resource.collection.field_memberof.yml
  3. 13
      islandora_collection/config/install/field.storage.fedora_resource.field_description.yml
  4. 9
      islandora_collection/config/install/field.storage.fedora_resource.field_memberof.yml
  5. 7
      islandora_collection/config/install/islandora.fedora_resource_type.collection.yml
  6. 5
      islandora_collection/config/install/rdf.mapping.fedora_resource_type.collection.yml

12
islandora_collection/config/install/field.field.fedora_resource.collection.field_description.yml

@ -4,16 +4,22 @@ dependencies:
config:
- field.storage.fedora_resource.field_description
- islandora.fedora_resource_type.collection
enforced:
module:
- islandora_collection
module:
- text
id: fedora_resource.collection.field_description
field_name: field_description
entity_type: fedora_resource
bundle: collection
label: description
description: ''
description: 'Description about the collection'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
settings:
display_summary: false
field_type: text_with_summary

17
islandora_collection/config/install/field.field.fedora_resource.collection.field_memberof.yml

@ -4,16 +4,27 @@ dependencies:
config:
- field.storage.fedora_resource.field_memberof
- islandora.fedora_resource_type.collection
enforced:
module:
- islandora_collection
id: fedora_resource.collection5.field_memberof
field_name: field_memberof
entity_type: fedora_resource
bundle: collection
label: memberOf
description: ''
description: 'Other collections or bundles this collection is member of.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
settings:
handler: 'default:fedora_resource'
handler_settings:
target_bundles:
collection: collection
sort:
field: _none
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

13
islandora_collection/config/install/field.storage.fedora_resource.field_description.yml

@ -3,15 +3,16 @@ status: true
dependencies:
module:
- islandora
- text
enforced:
module:
- islandora_collection
id: fedora_resource.field_description
field_name: field_description
entity_type: fedora_resource
type: string
settings:
max_length: 255
is_ascii: false
case_sensitive: false
module: core
type: text_with_summary
settings: { }
module: text
locked: false
cardinality: 1
translatable: true

9
islandora_collection/config/install/field.storage.fedora_resource.field_memberof.yml

@ -3,14 +3,15 @@ status: true
dependencies:
module:
- islandora
enforced:
module:
- islandora_collection
id: fedora_resource.field_memberof
field_name: field_memberof
entity_type: fedora_resource
type: string
type: entity_reference
settings:
max_length: 255
is_ascii: false
case_sensitive: false
target_type: fedora_resource
module: core
locked: false
cardinality: 1

7
islandora_collection/config/install/islandora.fedora_resource_type.collection.yml

@ -1,6 +1,9 @@
langcode: en
status: true
dependencies: { }
dependencies:
enforced:
module:
- islandora_collection
id: collection
label: Collection
description: 'Islandora Collection'

5
islandora_collection/config/install/rdf.mapping.fedora_resource_type.collection.yml

@ -5,8 +5,9 @@ dependencies:
- islandora.fedora_resource_type.collection
module:
- islandora
_core:
default_config_hash: bOdgYEs3Gr7zgXULLOK3woUktR6-b7PERSr1H_Npsac
enforced:
module:
- islandora_collection
id: fedora_resource.collection
targetEntityType: fedora_resource
bundle: collection

Loading…
Cancel
Save