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: config:
- field.storage.fedora_resource.field_description - field.storage.fedora_resource.field_description
- islandora.fedora_resource_type.collection - islandora.fedora_resource_type.collection
enforced:
module:
- islandora_collection
module:
- text
id: fedora_resource.collection.field_description id: fedora_resource.collection.field_description
field_name: field_description field_name: field_description
entity_type: fedora_resource entity_type: fedora_resource
bundle: collection bundle: collection
label: description label: description
description: '' description: 'Description about the collection'
required: false required: false
translatable: false translatable: false
default_value: { } default_value: { }
default_value_callback: '' default_value_callback: ''
settings: { } settings:
field_type: string 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: config:
- field.storage.fedora_resource.field_memberof - field.storage.fedora_resource.field_memberof
- islandora.fedora_resource_type.collection - islandora.fedora_resource_type.collection
enforced:
module:
- islandora_collection
id: fedora_resource.collection5.field_memberof id: fedora_resource.collection5.field_memberof
field_name: field_memberof field_name: field_memberof
entity_type: fedora_resource entity_type: fedora_resource
bundle: collection bundle: collection
label: memberOf label: memberOf
description: '' description: 'Other collections or bundles this collection is member of.'
required: false required: false
translatable: false translatable: false
default_value: { } default_value: { }
default_value_callback: '' default_value_callback: ''
settings: { } settings:
field_type: string 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: dependencies:
module: module:
- islandora - islandora
- text
enforced:
module:
- islandora_collection
id: fedora_resource.field_description id: fedora_resource.field_description
field_name: field_description field_name: field_description
entity_type: fedora_resource entity_type: fedora_resource
type: string type: text_with_summary
settings: settings: { }
max_length: 255 module: text
is_ascii: false
case_sensitive: false
module: core
locked: false locked: false
cardinality: 1 cardinality: 1
translatable: true translatable: true

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

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

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

@ -1,6 +1,9 @@
langcode: en langcode: en
status: true status: true
dependencies: { } dependencies:
enforced:
module:
- islandora_collection
id: collection id: collection
label: 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 - islandora.fedora_resource_type.collection
module: module:
- islandora - islandora
_core: enforced:
default_config_hash: bOdgYEs3Gr7zgXULLOK3woUktR6-b7PERSr1H_Npsac module:
- islandora_collection
id: fedora_resource.collection id: fedora_resource.collection
targetEntityType: fedora_resource targetEntityType: fedora_resource
bundle: collection bundle: collection

Loading…
Cancel
Save