Browse Source

Moving half the config over to islandora_defaults to remove that tric… (#173)

* Moving half the config over to islandora_defaults to remove that tricky dependency

* Putting in the handling of null weights that got lost in the shuffle
pull/729/head
dannylamb 5 years ago committed by Jared Whiklo
parent
commit
9c65bfc155
  1. 17
      modules/islandora_core_feature/config/install/core.base_field_override.media.audio.changed.yml
  2. 17
      modules/islandora_core_feature/config/install/core.base_field_override.media.audio.created.yml
  3. 19
      modules/islandora_core_feature/config/install/core.base_field_override.media.audio.name.yml
  4. 19
      modules/islandora_core_feature/config/install/core.base_field_override.media.audio.path.yml
  5. 21
      modules/islandora_core_feature/config/install/core.base_field_override.media.audio.status.yml
  6. 36
      modules/islandora_core_feature/config/install/core.base_field_override.media.audio.thumbnail.yml
  7. 19
      modules/islandora_core_feature/config/install/core.base_field_override.media.audio.uid.yml
  8. 17
      modules/islandora_core_feature/config/install/core.base_field_override.media.file.changed.yml
  9. 17
      modules/islandora_core_feature/config/install/core.base_field_override.media.file.created.yml
  10. 19
      modules/islandora_core_feature/config/install/core.base_field_override.media.file.name.yml
  11. 19
      modules/islandora_core_feature/config/install/core.base_field_override.media.file.path.yml
  12. 21
      modules/islandora_core_feature/config/install/core.base_field_override.media.file.status.yml
  13. 36
      modules/islandora_core_feature/config/install/core.base_field_override.media.file.thumbnail.yml
  14. 19
      modules/islandora_core_feature/config/install/core.base_field_override.media.file.uid.yml
  15. 17
      modules/islandora_core_feature/config/install/core.base_field_override.media.image.changed.yml
  16. 17
      modules/islandora_core_feature/config/install/core.base_field_override.media.image.created.yml
  17. 19
      modules/islandora_core_feature/config/install/core.base_field_override.media.image.name.yml
  18. 19
      modules/islandora_core_feature/config/install/core.base_field_override.media.image.path.yml
  19. 21
      modules/islandora_core_feature/config/install/core.base_field_override.media.image.status.yml
  20. 36
      modules/islandora_core_feature/config/install/core.base_field_override.media.image.thumbnail.yml
  21. 19
      modules/islandora_core_feature/config/install/core.base_field_override.media.image.uid.yml
  22. 17
      modules/islandora_core_feature/config/install/core.base_field_override.media.video.changed.yml
  23. 17
      modules/islandora_core_feature/config/install/core.base_field_override.media.video.created.yml
  24. 19
      modules/islandora_core_feature/config/install/core.base_field_override.media.video.name.yml
  25. 19
      modules/islandora_core_feature/config/install/core.base_field_override.media.video.path.yml
  26. 21
      modules/islandora_core_feature/config/install/core.base_field_override.media.video.status.yml
  27. 36
      modules/islandora_core_feature/config/install/core.base_field_override.media.video.thumbnail.yml
  28. 19
      modules/islandora_core_feature/config/install/core.base_field_override.media.video.uid.yml
  29. 42
      modules/islandora_core_feature/config/install/core.entity_view_display.media.audio.source.yml
  30. 40
      modules/islandora_core_feature/config/install/core.entity_view_display.media.file.source.yml
  31. 45
      modules/islandora_core_feature/config/install/core.entity_view_display.media.image.source.yml
  32. 45
      modules/islandora_core_feature/config/install/core.entity_view_display.media.video.source.yml
  33. 25
      modules/islandora_core_feature/config/install/field.field.media.audio.field_file_size.yml
  34. 29
      modules/islandora_core_feature/config/install/field.field.media.audio.field_media_audio_file.yml
  35. 23
      modules/islandora_core_feature/config/install/field.field.media.audio.field_media_of.yml
  36. 28
      modules/islandora_core_feature/config/install/field.field.media.audio.field_media_use.yml
  37. 21
      modules/islandora_core_feature/config/install/field.field.media.audio.field_mime_type.yml
  38. 25
      modules/islandora_core_feature/config/install/field.field.media.file.field_file_size.yml
  39. 30
      modules/islandora_core_feature/config/install/field.field.media.file.field_media_file.yml
  40. 23
      modules/islandora_core_feature/config/install/field.field.media.file.field_media_of.yml
  41. 28
      modules/islandora_core_feature/config/install/field.field.media.file.field_media_use.yml
  42. 21
      modules/islandora_core_feature/config/install/field.field.media.file.field_mime_type.yml
  43. 25
      modules/islandora_core_feature/config/install/field.field.media.image.field_file_size.yml
  44. 25
      modules/islandora_core_feature/config/install/field.field.media.image.field_height.yml
  45. 41
      modules/islandora_core_feature/config/install/field.field.media.image.field_media_image.yml
  46. 23
      modules/islandora_core_feature/config/install/field.field.media.image.field_media_of.yml
  47. 28
      modules/islandora_core_feature/config/install/field.field.media.image.field_media_use.yml
  48. 21
      modules/islandora_core_feature/config/install/field.field.media.image.field_mime_type.yml
  49. 25
      modules/islandora_core_feature/config/install/field.field.media.image.field_width.yml
  50. 25
      modules/islandora_core_feature/config/install/field.field.media.video.field_file_size.yml
  51. 23
      modules/islandora_core_feature/config/install/field.field.media.video.field_media_of.yml
  52. 28
      modules/islandora_core_feature/config/install/field.field.media.video.field_media_use.yml
  53. 29
      modules/islandora_core_feature/config/install/field.field.media.video.field_media_video_file.yml
  54. 21
      modules/islandora_core_feature/config/install/field.field.media.video.field_mime_type.yml
  55. 22
      modules/islandora_core_feature/config/install/field.field.taxonomy_term.islandora_display.field_external_uri.yml
  56. 19
      modules/islandora_core_feature/config/install/field.storage.node.field_display_hints.yml
  57. 17
      modules/islandora_core_feature/config/install/language.content_settings.media.audio.yml
  58. 17
      modules/islandora_core_feature/config/install/language.content_settings.media.file.yml
  59. 17
      modules/islandora_core_feature/config/install/language.content_settings.media.image.yml
  60. 17
      modules/islandora_core_feature/config/install/language.content_settings.media.video.yml
  61. 15
      modules/islandora_core_feature/config/install/language.content_settings.taxonomy_term.islandora_media_use.yml
  62. 15
      modules/islandora_core_feature/config/install/language.content_settings.taxonomy_term.islandora_models.yml
  63. 18
      modules/islandora_core_feature/config/install/media.type.audio.yml
  64. 18
      modules/islandora_core_feature/config/install/media.type.file.yml
  65. 20
      modules/islandora_core_feature/config/install/media.type.image.yml
  66. 18
      modules/islandora_core_feature/config/install/media.type.video.yml
  67. 48
      modules/islandora_core_feature/config/install/rdf.mapping.media.audio.yml
  68. 48
      modules/islandora_core_feature/config/install/rdf.mapping.media.file.yml
  69. 54
      modules/islandora_core_feature/config/install/rdf.mapping.media.image.yml
  70. 48
      modules/islandora_core_feature/config/install/rdf.mapping.media.video.yml
  71. 30
      modules/islandora_core_feature/config/install/rdf.mapping.taxonomy_term.islandora_display.yml
  72. 30
      modules/islandora_core_feature/config/install/rdf.mapping.taxonomy_term.islandora_media_use.yml
  73. 30
      modules/islandora_core_feature/config/install/rdf.mapping.taxonomy_term.islandora_models.yml
  74. 8
      modules/islandora_core_feature/config/install/taxonomy.vocabulary.islandora_display.yml
  75. 1
      modules/islandora_core_feature/config/install/taxonomy.vocabulary.islandora_media_use.yml
  76. 1
      modules/islandora_core_feature/config/install/taxonomy.vocabulary.islandora_models.yml
  77. 255
      modules/islandora_core_feature/config/install/views.view.members.yml
  78. 4
      modules/islandora_core_feature/config/install/views.view.reorder_children.yml
  79. 26
      modules/islandora_core_feature/islandora_core_feature.features.yml
  80. 4
      modules/islandora_core_feature/islandora_core_feature.info.yml
  81. 13
      src/Plugin/views/field/IntegerWeightSelector.php

17
modules/islandora_core_feature/config/install/core.base_field_override.media.audio.changed.yml

@ -1,17 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.audio
id: media.audio.changed
field_name: changed
entity_type: media
bundle: audio
label: Changed
description: 'The time the media item was last edited.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: changed

17
modules/islandora_core_feature/config/install/core.base_field_override.media.audio.created.yml

@ -1,17 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.audio
id: media.audio.created
field_name: created
entity_type: media
bundle: audio
label: 'Authored on'
description: 'The time the media item was created.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\media\Entity\Media::getRequestTime'
settings: { }
field_type: created

19
modules/islandora_core_feature/config/install/core.base_field_override.media.audio.name.yml

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.audio
id: media.audio.name
field_name: name
entity_type: media
bundle: audio
label: Name
description: ''
required: true
translatable: true
default_value:
-
value: ''
default_value_callback: ''
settings: { }
field_type: string

19
modules/islandora_core_feature/config/install/core.base_field_override.media.audio.path.yml

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.audio
module:
- path
id: media.audio.path
field_name: path
entity_type: media
bundle: audio
label: 'URL alias'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: path

21
modules/islandora_core_feature/config/install/core.base_field_override.media.audio.status.yml

@ -1,21 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.audio
id: media.audio.status
field_name: status
entity_type: media
bundle: audio
label: Published
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean

36
modules/islandora_core_feature/config/install/core.base_field_override.media.audio.thumbnail.yml

@ -1,36 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.audio
module:
- image
id: media.audio.thumbnail
field_name: thumbnail
entity_type: media
bundle: audio
label: Thumbnail
description: 'The thumbnail of the media item.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
file_extensions: 'png gif jpg jpeg'
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
max_resolution: ''
min_resolution: ''
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
file_directory: '[date:custom:Y]-[date:custom:m]'
max_filesize: ''
handler: default
handler_settings: { }
field_type: image

19
modules/islandora_core_feature/config/install/core.base_field_override.media.audio.uid.yml

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.audio
id: media.audio.uid
field_name: uid
entity_type: media
bundle: audio
label: 'Authored by'
description: 'The user ID of the author.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\media\Entity\Media::getCurrentUserId'
settings:
handler: default
handler_settings: { }
field_type: entity_reference

17
modules/islandora_core_feature/config/install/core.base_field_override.media.file.changed.yml

@ -1,17 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.file
id: media.file.changed
field_name: changed
entity_type: media
bundle: file
label: Changed
description: 'The time the media item was last edited.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: changed

17
modules/islandora_core_feature/config/install/core.base_field_override.media.file.created.yml

@ -1,17 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.file
id: media.file.created
field_name: created
entity_type: media
bundle: file
label: 'Authored on'
description: 'The time the media item was created.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\media\Entity\Media::getRequestTime'
settings: { }
field_type: created

19
modules/islandora_core_feature/config/install/core.base_field_override.media.file.name.yml

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.file
id: media.file.name
field_name: name
entity_type: media
bundle: file
label: Name
description: ''
required: true
translatable: true
default_value:
-
value: ''
default_value_callback: ''
settings: { }
field_type: string

19
modules/islandora_core_feature/config/install/core.base_field_override.media.file.path.yml

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.file
module:
- path
id: media.file.path
field_name: path
entity_type: media
bundle: file
label: 'URL alias'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: path

21
modules/islandora_core_feature/config/install/core.base_field_override.media.file.status.yml

@ -1,21 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.file
id: media.file.status
field_name: status
entity_type: media
bundle: file
label: Published
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean

36
modules/islandora_core_feature/config/install/core.base_field_override.media.file.thumbnail.yml

@ -1,36 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.file
module:
- image
id: media.file.thumbnail
field_name: thumbnail
entity_type: media
bundle: file
label: Thumbnail
description: 'The thumbnail of the media item.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
file_extensions: 'png gif jpg jpeg'
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
max_resolution: ''
min_resolution: ''
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
file_directory: '[date:custom:Y]-[date:custom:m]'
max_filesize: ''
handler: default
handler_settings: { }
field_type: image

19
modules/islandora_core_feature/config/install/core.base_field_override.media.file.uid.yml

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.file
id: media.file.uid
field_name: uid
entity_type: media
bundle: file
label: 'Authored by'
description: 'The user ID of the author.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\media\Entity\Media::getCurrentUserId'
settings:
handler: default
handler_settings: { }
field_type: entity_reference

17
modules/islandora_core_feature/config/install/core.base_field_override.media.image.changed.yml

@ -1,17 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.image
id: media.image.changed
field_name: changed
entity_type: media
bundle: image
label: Changed
description: 'The time the media item was last edited.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: changed

17
modules/islandora_core_feature/config/install/core.base_field_override.media.image.created.yml

@ -1,17 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.image
id: media.image.created
field_name: created
entity_type: media
bundle: image
label: 'Authored on'
description: 'The time the media item was created.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\media\Entity\Media::getRequestTime'
settings: { }
field_type: created

19
modules/islandora_core_feature/config/install/core.base_field_override.media.image.name.yml

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.image
id: media.image.name
field_name: name
entity_type: media
bundle: image
label: Name
description: ''
required: true
translatable: true
default_value:
-
value: ''
default_value_callback: ''
settings: { }
field_type: string

19
modules/islandora_core_feature/config/install/core.base_field_override.media.image.path.yml

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.image
module:
- path
id: media.image.path
field_name: path
entity_type: media
bundle: image
label: 'URL alias'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: path

21
modules/islandora_core_feature/config/install/core.base_field_override.media.image.status.yml

@ -1,21 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.image
id: media.image.status
field_name: status
entity_type: media
bundle: image
label: Published
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean

36
modules/islandora_core_feature/config/install/core.base_field_override.media.image.thumbnail.yml

@ -1,36 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.image
module:
- image
id: media.image.thumbnail
field_name: thumbnail
entity_type: media
bundle: image
label: Thumbnail
description: 'The thumbnail of the media item.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
file_extensions: 'png gif jpg jpeg'
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
max_resolution: ''
min_resolution: ''
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
file_directory: '[date:custom:Y]-[date:custom:m]'
max_filesize: ''
handler: default
handler_settings: { }
field_type: image

19
modules/islandora_core_feature/config/install/core.base_field_override.media.image.uid.yml

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.image
id: media.image.uid
field_name: uid
entity_type: media
bundle: image
label: 'Authored by'
description: 'The user ID of the author.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\media\Entity\Media::getCurrentUserId'
settings:
handler: default
handler_settings: { }
field_type: entity_reference

17
modules/islandora_core_feature/config/install/core.base_field_override.media.video.changed.yml

@ -1,17 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.video
id: media.video.changed
field_name: changed
entity_type: media
bundle: video
label: Changed
description: 'The time the media item was last edited.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: changed

17
modules/islandora_core_feature/config/install/core.base_field_override.media.video.created.yml

@ -1,17 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.video
id: media.video.created
field_name: created
entity_type: media
bundle: video
label: 'Authored on'
description: 'The time the media item was created.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\media\Entity\Media::getRequestTime'
settings: { }
field_type: created

19
modules/islandora_core_feature/config/install/core.base_field_override.media.video.name.yml

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.video
id: media.video.name
field_name: name
entity_type: media
bundle: video
label: Name
description: ''
required: true
translatable: true
default_value:
-
value: ''
default_value_callback: ''
settings: { }
field_type: string

19
modules/islandora_core_feature/config/install/core.base_field_override.media.video.path.yml

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.video
module:
- path
id: media.video.path
field_name: path
entity_type: media
bundle: video
label: 'URL alias'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: path

21
modules/islandora_core_feature/config/install/core.base_field_override.media.video.status.yml

@ -1,21 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.video
id: media.video.status
field_name: status
entity_type: media
bundle: video
label: Published
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean

36
modules/islandora_core_feature/config/install/core.base_field_override.media.video.thumbnail.yml

@ -1,36 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.video
module:
- image
id: media.video.thumbnail
field_name: thumbnail
entity_type: media
bundle: video
label: Thumbnail
description: 'The thumbnail of the media item.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
file_extensions: 'png gif jpg jpeg'
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
max_resolution: ''
min_resolution: ''
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
file_directory: '[date:custom:Y]-[date:custom:m]'
max_filesize: ''
handler: default
handler_settings: { }
field_type: image

19
modules/islandora_core_feature/config/install/core.base_field_override.media.video.uid.yml

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.video
id: media.video.uid
field_name: uid
entity_type: media
bundle: video
label: 'Authored by'
description: 'The user ID of the author.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\media\Entity\Media::getCurrentUserId'
settings:
handler: default
handler_settings: { }
field_type: entity_reference

42
modules/islandora_core_feature/config/install/core.entity_view_display.media.audio.source.yml

@ -1,42 +0,0 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.source
- field.field.media.audio.field_file_size
- field.field.media.audio.field_media_audio_file
- field.field.media.audio.field_media_of
- field.field.media.audio.field_media_use
- field.field.media.audio.field_mime_type
- media.type.audio
enforced:
module:
- islandora_core_feature
module:
- file
id: media.audio.source
targetEntityType: media
bundle: audio
mode: source
content:
field_media_audio_file:
type: file_audio
weight: 0
label: visually_hidden
settings:
controls: true
multiple_file_display_type: tags
autoplay: false
loop: false
third_party_settings: { }
region: content
hidden:
created: true
field_file_size: true
field_media_of: true
field_media_use: true
field_mime_type: true
langcode: true
name: true
thumbnail: true
uid: true

40
modules/islandora_core_feature/config/install/core.entity_view_display.media.file.source.yml

@ -1,40 +0,0 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.source
- field.field.media.file.field_file_size
- field.field.media.file.field_media_file
- field.field.media.file.field_media_of
- field.field.media.file.field_media_use
- field.field.media.file.field_mime_type
- media.type.file
enforced:
module:
- islandora_core_feature
module:
- file
id: media.file.source
targetEntityType: media
bundle: file
mode: source
content:
field_media_file:
label: hidden
settings:
use_description_as_link_text: true
third_party_settings: { }
type: file_default
weight: 0
region: content
hidden:
created: true
field_file_size: true
field_gemini_uri: true
field_media_of: true
field_media_use: true
field_mime_type: true
langcode: true
name: true
thumbnail: true
uid: true

45
modules/islandora_core_feature/config/install/core.entity_view_display.media.image.source.yml

@ -1,45 +0,0 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.source
- field.field.media.image.field_file_size
- field.field.media.image.field_height
- field.field.media.image.field_media_image
- field.field.media.image.field_media_of
- field.field.media.image.field_media_use
- field.field.media.image.field_mime_type
- field.field.media.image.field_width
- media.type.image
enforced:
module:
- islandora_core_feature
module:
- islandora
id: media.image.source
targetEntityType: media
bundle: image
mode: source
content:
field_media_image:
label: visually_hidden
settings:
image_style: ''
image_link: content
third_party_settings: { }
type: islandora_image
weight: 0
region: content
hidden:
created: true
field_file_size: true
field_gemini_uri: true
field_height: true
field_media_of: true
field_media_use: true
field_mime_type: true
field_width: true
langcode: true
name: true
thumbnail: true
uid: true

45
modules/islandora_core_feature/config/install/core.entity_view_display.media.video.source.yml

@ -1,45 +0,0 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.source
- field.field.media.video.field_file_size
- field.field.media.video.field_media_of
- field.field.media.video.field_media_use
- field.field.media.video.field_media_video_file
- field.field.media.video.field_mime_type
- media.type.video
enforced:
module:
- islandora_core_feature
module:
- file
id: media.video.source
targetEntityType: media
bundle: video
mode: source
content:
field_media_video_file:
type: file_video
weight: 0
label: visually_hidden
settings:
muted: false
width: 640
height: 480
controls: true
autoplay: false
loop: false
multiple_file_display_type: tags
third_party_settings: { }
region: content
hidden:
created: true
field_file_size: true
field_media_of: true
field_media_use: true
field_mime_type: true
langcode: true
name: true
thumbnail: true
uid: true

25
modules/islandora_core_feature/config/install/field.field.media.audio.field_file_size.yml

@ -1,25 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_file_size
- media.type.audio
enforced:
module:
- islandora_core_feature
id: media.audio.field_file_size
field_name: field_file_size
entity_type: media
bundle: audio
label: 'File size'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
min: null
max: null
prefix: ''
suffix: ''
field_type: integer

29
modules/islandora_core_feature/config/install/field.field.media.audio.field_media_audio_file.yml

@ -1,29 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_audio_file
- media.type.audio
enforced:
module:
- islandora_core_feature
module:
- file
id: media.audio.field_media_audio_file
field_name: field_media_audio_file
entity_type: media
bundle: audio
label: 'Audio file'
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings:
file_extensions: 'mp3 wav aac'
file_directory: '[date:custom:Y]-[date:custom:m]'
max_filesize: ''
description_field: false
handler: 'default:file'
handler_settings: { }
field_type: file

23
modules/islandora_core_feature/config/install/field.field.media.audio.field_media_of.yml

@ -1,23 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_of
- media.type.audio
enforced:
module:
- islandora_core_feature
id: media.audio.field_media_of
field_name: field_media_of
entity_type: media
bundle: audio
label: 'Media of'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:node'
handler_settings: { }
field_type: entity_reference

28
modules/islandora_core_feature/config/install/field.field.media.audio.field_media_use.yml

@ -1,28 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_use
- media.type.audio
- taxonomy.vocabulary.islandora_media_use
id: media.audio.field_media_use
field_name: field_media_use
entity_type: media
bundle: audio
label: 'Media Use'
description: 'Defined by Portland Common Data Model: Use Extension https://pcdm.org/2015/05/12/use. ''Original File'' will trigger creation of derivatives.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
islandora_media_use: islandora_media_use
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

21
modules/islandora_core_feature/config/install/field.field.media.audio.field_mime_type.yml

@ -1,21 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_mime_type
- media.type.audio
enforced:
module:
- islandora_core_feature
id: media.audio.field_mime_type
field_name: field_mime_type
entity_type: media
bundle: audio
label: 'MIME type'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

25
modules/islandora_core_feature/config/install/field.field.media.file.field_file_size.yml

@ -1,25 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_file_size
- media.type.file
enforced:
module:
- islandora_core_feature
id: media.file.field_file_size
field_name: field_file_size
entity_type: media
bundle: file
label: 'File size'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
min: null
max: null
prefix: ''
suffix: ''
field_type: integer

30
modules/islandora_core_feature/config/install/field.field.media.file.field_media_file.yml

@ -1,30 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_file
- media.type.file
enforced:
module:
- media
- islandora_core_feature
module:
- file
id: media.file.field_media_file
field_name: field_media_file
entity_type: media
bundle: file
label: File
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings:
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'txt rtf doc docx ppt pptx xls xlsx pdf odf odg odp ods odt fodt fods fodp fodg key numbers pages tiff tif jp2'
max_filesize: ''
description_field: false
handler: 'default:file'
handler_settings: { }
field_type: file

23
modules/islandora_core_feature/config/install/field.field.media.file.field_media_of.yml

@ -1,23 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_of
- media.type.file
enforced:
module:
- islandora_core_feature
id: media.file.field_media_of
field_name: field_media_of
entity_type: media
bundle: file
label: 'Media of'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:node'
handler_settings: { }
field_type: entity_reference

28
modules/islandora_core_feature/config/install/field.field.media.file.field_media_use.yml

@ -1,28 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_use
- media.type.file
- taxonomy.vocabulary.islandora_media_use
id: media.file.field_media_use
field_name: field_media_use
entity_type: media
bundle: file
label: 'Media Use'
description: 'Defined by Portland Common Data Model: Use Extension https://pcdm.org/2015/05/12/use. ''Original File'' will trigger creation of derivatives.'
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
islandora_media_use: islandora_media_use
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

21
modules/islandora_core_feature/config/install/field.field.media.file.field_mime_type.yml

@ -1,21 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_mime_type
- media.type.file
enforced:
module:
- islandora_core_feature
id: media.file.field_mime_type
field_name: field_mime_type
entity_type: media
bundle: file
label: 'MIME type'
description: 'MIME type of the underlying file'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

25
modules/islandora_core_feature/config/install/field.field.media.image.field_file_size.yml

@ -1,25 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_file_size
- media.type.image
enforced:
module:
- islandora_core_feature
id: media.image.field_file_size
field_name: field_file_size
entity_type: media
bundle: image
label: 'File size'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
min: null
max: null
prefix: ''
suffix: ''
field_type: integer

25
modules/islandora_core_feature/config/install/field.field.media.image.field_height.yml

@ -1,25 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_height
- media.type.image
enforced:
module:
- islandora_core_feature
id: media.image.field_height
field_name: field_height
entity_type: media
bundle: image
label: Height
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
min: null
max: null
prefix: ''
suffix: ''
field_type: integer

41
modules/islandora_core_feature/config/install/field.field.media.image.field_media_image.yml

@ -1,41 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_image
- media.type.image
enforced:
module:
- media
- islandora_core_feature
module:
- image
id: media.image.field_media_image
field_name: field_media_image
entity_type: media
bundle: image
label: Image
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings:
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
max_resolution: ''
min_resolution: ''
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg'
max_filesize: ''
handler: 'default:file'
handler_settings: { }
field_type: image

23
modules/islandora_core_feature/config/install/field.field.media.image.field_media_of.yml

@ -1,23 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_of
- media.type.image
enforced:
module:
- islandora_core_feature
id: media.image.field_media_of
field_name: field_media_of
entity_type: media
bundle: image
label: 'Media of'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:node'
handler_settings: { }
field_type: entity_reference

28
modules/islandora_core_feature/config/install/field.field.media.image.field_media_use.yml

@ -1,28 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_use
- media.type.image
- taxonomy.vocabulary.islandora_media_use
id: media.image.field_media_use
field_name: field_media_use
entity_type: media
bundle: image
label: 'Media Use'
description: 'Defined by Portland Common Data Model: Use Extension https://pcdm.org/2015/05/12/use. ''Original File'' will trigger creation of derivatives.'
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
islandora_media_use: islandora_media_use
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

21
modules/islandora_core_feature/config/install/field.field.media.image.field_mime_type.yml

@ -1,21 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_mime_type
- media.type.image
enforced:
module:
- islandora_core_feature
id: media.image.field_mime_type
field_name: field_mime_type
entity_type: media
bundle: image
label: 'MIME type'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

25
modules/islandora_core_feature/config/install/field.field.media.image.field_width.yml

@ -1,25 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_width
- media.type.image
enforced:
module:
- islandora_core_feature
id: media.image.field_width
field_name: field_width
entity_type: media
bundle: image
label: Width
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
min: null
max: null
prefix: ''
suffix: ''
field_type: integer

25
modules/islandora_core_feature/config/install/field.field.media.video.field_file_size.yml

@ -1,25 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_file_size
- media.type.video
enforced:
module:
- islandora_core_feature
id: media.video.field_file_size
field_name: field_file_size
entity_type: media
bundle: video
label: 'File size'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
min: null
max: null
prefix: ''
suffix: ''
field_type: integer

23
modules/islandora_core_feature/config/install/field.field.media.video.field_media_of.yml

@ -1,23 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_of
- media.type.video
enforced:
module:
- islandora_core_feature
id: media.video.field_media_of
field_name: field_media_of
entity_type: media
bundle: video
label: 'Media of'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:node'
handler_settings: { }
field_type: entity_reference

28
modules/islandora_core_feature/config/install/field.field.media.video.field_media_use.yml

@ -1,28 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_use
- media.type.video
- taxonomy.vocabulary.islandora_media_use
id: media.video.field_media_use
field_name: field_media_use
entity_type: media
bundle: video
label: 'Media Use'
description: 'Defined by Portland Common Data Model: Use Extension https://pcdm.org/2015/05/12/use. ''Original File'' will trigger creation of derivatives.'
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
islandora_media_use: islandora_media_use
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

29
modules/islandora_core_feature/config/install/field.field.media.video.field_media_video_file.yml

@ -1,29 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_video_file
- media.type.video
enforced:
module:
- islandora_core_feature
module:
- file
id: media.video.field_media_video_file
field_name: field_media_video_file
entity_type: media
bundle: video
label: 'Video file'
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings:
file_extensions: mp4
file_directory: '[date:custom:Y]-[date:custom:m]'
max_filesize: ''
description_field: false
handler: 'default:file'
handler_settings: { }
field_type: file

21
modules/islandora_core_feature/config/install/field.field.media.video.field_mime_type.yml

@ -1,21 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_mime_type
- media.type.video
enforced:
module:
- islandora_core_feature
id: media.video.field_mime_type
field_name: field_mime_type
entity_type: media
bundle: video
label: 'MIME type'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

22
modules/islandora_core_feature/config/install/field.field.taxonomy_term.islandora_display.field_external_uri.yml

@ -1,22 +0,0 @@
langcode: en
status: true
dependencies:
config:
- field.storage.taxonomy_term.field_external_uri
- taxonomy.vocabulary.islandora_display
module:
- link
id: taxonomy_term.islandora_display.field_external_uri
field_name: field_external_uri
entity_type: taxonomy_term
bundle: islandora_display
label: 'External URI'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
title: 1
link_type: 17
field_type: link

19
modules/islandora_core_feature/config/install/field.storage.node.field_display_hints.yml

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
module:
- node
- taxonomy
id: node.field_display_hints
field_name: field_display_hints
entity_type: node
type: entity_reference
settings:
target_type: taxonomy_term
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

17
modules/islandora_core_feature/config/install/language.content_settings.media.audio.yml

@ -1,17 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.audio
module:
- content_translation
third_party_settings:
content_translation:
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
id: media.audio
target_entity_type_id: media
target_bundle: audio
default_langcode: site_default
language_alterable: true

17
modules/islandora_core_feature/config/install/language.content_settings.media.file.yml

@ -1,17 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.file
module:
- content_translation
third_party_settings:
content_translation:
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
id: media.file
target_entity_type_id: media
target_bundle: file
default_langcode: site_default
language_alterable: true

17
modules/islandora_core_feature/config/install/language.content_settings.media.image.yml

@ -1,17 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.image
module:
- content_translation
third_party_settings:
content_translation:
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
id: media.image
target_entity_type_id: media
target_bundle: image
default_langcode: site_default
language_alterable: true

17
modules/islandora_core_feature/config/install/language.content_settings.media.video.yml

@ -1,17 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.video
module:
- content_translation
third_party_settings:
content_translation:
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
id: media.video
target_entity_type_id: media
target_bundle: video
default_langcode: site_default
language_alterable: true

15
modules/islandora_core_feature/config/install/language.content_settings.taxonomy_term.islandora_media_use.yml

@ -1,15 +0,0 @@
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.islandora_media_use
module:
- content_translation
third_party_settings:
content_translation:
enabled: true
id: taxonomy_term.islandora_media_use
target_entity_type_id: taxonomy_term
target_bundle: islandora_media_use
default_langcode: site_default
language_alterable: false

15
modules/islandora_core_feature/config/install/language.content_settings.taxonomy_term.islandora_models.yml

@ -1,15 +0,0 @@
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.islandora_models
module:
- content_translation
third_party_settings:
content_translation:
enabled: true
id: taxonomy_term.islandora_models
target_entity_type_id: taxonomy_term
target_bundle: islandora_models
default_langcode: site_default
language_alterable: false

18
modules/islandora_core_feature/config/install/media.type.audio.yml

@ -1,18 +0,0 @@
langcode: en
status: true
dependencies:
enforced:
module:
- islandora_core_feature
id: audio
label: Audio
description: 'A locally hosted audio file.'
source: audio_file
queue_thumbnail_downloads: false
new_revision: true
source_configuration:
source_field: field_media_audio_file
field_map:
name: name
mimetype: field_mime_type
filesize: field_file_size

18
modules/islandora_core_feature/config/install/media.type.file.yml

@ -1,18 +0,0 @@
langcode: en
status: true
dependencies:
enforced:
module:
- islandora_core_feature
id: file
label: File
description: 'Use local files for reusable media.'
source: file
queue_thumbnail_downloads: false
new_revision: true
source_configuration:
source_field: field_media_file
field_map:
name: name
mimetype: field_mime_type
filesize: field_file_size

20
modules/islandora_core_feature/config/install/media.type.image.yml

@ -1,20 +0,0 @@
langcode: en
status: true
dependencies:
enforced:
module:
- islandora_core_feature
id: image
label: Image
description: 'Use local images for reusable media.'
source: image
queue_thumbnail_downloads: false
new_revision: true
source_configuration:
source_field: field_media_image
field_map:
name: name
mimetype: field_mime_type
filesize: field_file_size
width: field_width
height: field_height

18
modules/islandora_core_feature/config/install/media.type.video.yml

@ -1,18 +0,0 @@
langcode: en
status: true
dependencies:
enforced:
module:
- islandora_core_feature
id: video
label: Video
description: 'A locally hosted video file.'
source: video_file
queue_thumbnail_downloads: false
new_revision: true
source_configuration:
source_field: field_media_video_file
field_map:
name: name
mimetype: field_mime_type
filesize: field_file_size

48
modules/islandora_core_feature/config/install/rdf.mapping.media.audio.yml

@ -1,48 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.audio
enforced:
module:
- islandora_core_feature
module:
- media
id: media.audio
targetEntityType: media
bundle: audio
types:
- 'pcdm:File'
fieldMappings:
name:
properties:
- 'dc:title'
- 'rdf:label'
created:
properties:
- 'schema:dateCreated'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
changed:
properties:
- 'schema:dateModified'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
uid:
properties:
- 'schema:author'
mapping_type: rel
field_mime_type:
properties:
- 'ebucore:hasMimeType'
field_media_of:
properties:
- 'pcdm:fileOf'
mapping_type: rel
field_tags:
properties:
- 'schema:additionalType'
mapping_type: rel
field_file_size:
properties:
- 'premis:hasSize'

48
modules/islandora_core_feature/config/install/rdf.mapping.media.file.yml

@ -1,48 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.file
enforced:
module:
- islandora_core_feature
module:
- media
id: media.file
targetEntityType: media
bundle: file
types:
- 'pcdm:File'
fieldMappings:
name:
properties:
- 'dc:title'
- 'rdf:label'
created:
properties:
- 'schema:dateCreated'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
changed:
properties:
- 'schema:dateModified'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
uid:
properties:
- 'schema:author'
mapping_type: rel
field_mime_type:
properties:
- 'ebucore:hasMimeType'
field_media_of:
properties:
- 'pcdm:fileOf'
mapping_type: rel
field_tags:
properties:
- 'schema:additionalType'
mapping_type: rel
field_file_size:
properties:
- 'premis:hasSize'

54
modules/islandora_core_feature/config/install/rdf.mapping.media.image.yml

@ -1,54 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.image
enforced:
module:
- islandora_core_feature
module:
- media
id: media.image
targetEntityType: media
bundle: image
types:
- 'pcdm:File'
fieldMappings:
name:
properties:
- 'dc:title'
- 'rdf:label'
created:
properties:
- 'schema:dateCreated'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
changed:
properties:
- 'schema:dateModified'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
uid:
properties:
- 'schema:author'
mapping_type: rel
field_mime_type:
properties:
- 'ebucore:hasMimeType'
field_media_of:
properties:
- 'pcdm:fileOf'
mapping_type: rel
field_tags:
properties:
- 'schema:additionalType'
mapping_type: rel
field_width:
properties:
- 'ebucore:width'
field_height:
properties:
- 'ebucore:height'
field_file_size:
properties:
- 'premis:hasSize'

48
modules/islandora_core_feature/config/install/rdf.mapping.media.video.yml

@ -1,48 +0,0 @@
langcode: en
status: true
dependencies:
config:
- media.type.video
enforced:
module:
- islandora_core_feature
module:
- media
id: media.video
targetEntityType: media
bundle: video
types:
- 'pcdm:File'
fieldMappings:
name:
properties:
- 'dc:title'
- 'rdf:label'
created:
properties:
- 'schema:dateCreated'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
changed:
properties:
- 'schema:dateModified'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
uid:
properties:
- 'schema:author'
mapping_type: rel
field_mime_type:
properties:
- 'ebucore:hasMimeType'
field_media_of:
properties:
- 'pcdm:fileOf'
mapping_type: rel
field_tags:
properties:
- 'schema:additionalType'
mapping_type: rel
field_file_size:
properties:
- 'premis:hasSize'

30
modules/islandora_core_feature/config/install/rdf.mapping.taxonomy_term.islandora_display.yml

@ -1,30 +0,0 @@
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.islandora_display
enforced:
module:
- islandora_core_feature
module:
- taxonomy
id: taxonomy_term.islandora_display
targetEntityType: taxonomy_term
bundle: islandora_display
types:
- 'schema:Thing'
fieldMappings:
name:
properties:
- 'dc:title'
description:
properties:
- 'dc:description'
field_external_uri:
properties:
- 'owl:sameAs'
changed:
properties:
- 'schema:dateModified'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'

30
modules/islandora_core_feature/config/install/rdf.mapping.taxonomy_term.islandora_media_use.yml

@ -1,30 +0,0 @@
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.islandora_media_use
enforced:
module:
- islandora_core_feature
module:
- taxonomy
id: taxonomy_term.islandora_media_use
targetEntityType: taxonomy_term
bundle: islandora_media_use
types:
- 'schema:Thing'
fieldMappings:
name:
properties:
- 'dc:title'
description:
properties:
- 'dc:description'
field_external_uri:
properties:
- 'owl:sameAs'
changed:
properties:
- 'schema:dateModified'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'

30
modules/islandora_core_feature/config/install/rdf.mapping.taxonomy_term.islandora_models.yml

@ -1,30 +0,0 @@
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.islandora_models
enforced:
module:
- islandora_core_feature
module:
- taxonomy
id: taxonomy_term.islandora_models
targetEntityType: taxonomy_term
bundle: islandora_models
types:
- 'schema:Thing'
fieldMappings:
name:
properties:
- 'dc:title'
description:
properties:
- 'dc:description'
field_external_uri:
properties:
- 'owl:sameAs'
changed:
properties:
- 'schema:dateModified'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'

8
modules/islandora_core_feature/config/install/taxonomy.vocabulary.islandora_display.yml

@ -1,8 +0,0 @@
langcode: en
status: true
dependencies: { }
name: 'Islandora Display'
vid: islandora_display
description: 'Terms used to alter how a repository item is viewed. ie. basic image vs large image'
hierarchy: 0
weight: 0

1
modules/islandora_core_feature/config/install/taxonomy.vocabulary.islandora_media_use.yml

@ -4,5 +4,4 @@ dependencies: { }
name: 'Islandora Media Use'
vid: islandora_media_use
description: 'Terms to define how a media object is to be used.'
hierarchy: 0
weight: 0

1
modules/islandora_core_feature/config/install/taxonomy.vocabulary.islandora_models.yml

@ -4,5 +4,4 @@ dependencies: { }
name: 'Islandora Models'
vid: islandora_models
description: 'Types of repository objects'
hierarchy: 0
weight: 0

255
modules/islandora_core_feature/config/install/views.view.members.yml

@ -1,255 +0,0 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
enforced:
module:
- islandora_core_feature
module:
- node
- user
id: members
label: Members
module: views
description: 'Displays members for content.'
tag: ''
base_table: node_field_data
base_field: nid
core: 8.x
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: mini
options:
items_per_page: 10
offset: 0
id: 0
total_pages: null
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
tags:
previous: ‹‹
next: ››
style:
type: default
options:
grouping: { }
row_class: ''
default_row_class: true
uses_fields: false
row:
type: 'entity:node'
options:
relationship: none
view_mode: teaser
fields:
title:
id: title
table: node_field_data
field: title
entity_type: node
entity_field: title
label: ''
alter:
alter_text: false
make_link: false
absolute: false
trim: false
word_boundary: false
ellipsis: false
strip_tags: false
html: false
hide_empty: false
empty_zero: false
settings:
link_to_entity: true
plugin_id: field
relationship: none
group_type: group
admin_label: ''
exclude: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_alter_empty: true
click_sort_column: value
type: string
group_column: value
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
filters:
status:
id: status
table: node_field_data
field: status
relationship: none
group_type: group
admin_label: ''
operator: '='
value: '1'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: node
entity_field: status
plugin_id: boolean
sorts:
created:
id: created
table: node_field_data
field: created
order: DESC
entity_type: node
entity_field: created
plugin_id: date
relationship: none
group_type: group
admin_label: ''
exposed: false
expose:
label: ''
granularity: second
header: { }
footer: { }
empty: { }
relationships: { }
arguments:
field_member_of_target_id:
id: field_member_of_target_id
table: node__field_member_of
field: field_member_of_target_id
relationship: none
group_type: group
admin_label: ''
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: node
default_argument_options: { }
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
plugin_id: numeric
display_extenders: { }
filter_groups:
operator: AND
groups: { }
title: Children
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags: { }
block_1:
display_plugin: block
id: block_1
display_title: Block
position: 2
display_options:
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags: { }

4
modules/islandora_core_feature/config/install/views.view.reorder_children.yml

@ -249,9 +249,9 @@ display:
position: 1
display_options:
display_extenders: { }
path: node/%node/reorder
path: node/%node/members/reorder
menu:
type: tab
type: none
title: 'Reorder Children'
description: ''
expanded: false

26
modules/islandora_core_feature/islandora_core_feature.features.yml

@ -1,14 +1,16 @@
bundle: islandora
excluded:
- core.entity_view_display.node.article.default
- core.entity_view_display.node.article.rss
- core.entity_view_display.node.article.teaser
- core.entity_view_display.taxonomy_term.islandora_display.default
- core.entity_view_display.taxonomy_term.islandora_media_use.default
- core.entity_view_display.taxonomy_term.islandora_models.default
- field.field.node.article.field_tags
- core.entity_form_display.taxonomy_term.islandora_display.default
- core.entity_form_display.taxonomy_term.islandora_media_use.default
- core.entity_form_display.taxonomy_term.islandora_models.default
- taxonomy.vocabulary.islandora_access
required: true
- language.content_settings.taxonomy_term.islandora_media_use
- language.content_settings.taxonomy_term.islandora_models
required:
- features.bundle.islandora
- field.storage.media.field_file_size
- field.storage.media.field_height
- field.storage.media.field_media_of
- field.storage.media.field_media_use
- field.storage.media.field_mime_type
- field.storage.media.field_width
- field.storage.node.field_member_of
- field.storage.node.field_model
- field.storage.node.field_weight
- field.storage.taxonomy_term.field_external_uri

4
modules/islandora_core_feature/islandora_core_feature.info.yml

@ -4,7 +4,6 @@ type: module
core: 8.x
dependencies:
- basic_auth
- comment
- content_translation
- eva
- features
@ -20,13 +19,10 @@ dependencies:
- media
- migrate_plus
- node
- path
- rdf
- rest
- serialization
- system
- taxonomy
- text
- user
- views
package: Islandora

13
src/Plugin/views/field/IntegerWeightSelector.php

@ -46,6 +46,19 @@ class IntegerWeightSelector extends FieldPluginBase {
$options[$this->getValue($row)] = $this->getValue($row);
}
// If we were given some blank values we need to fill
// out the option list from 1 through the result count
// to make sure we have enough. (Blanks should only appear
// at the beginning of the results list.)
// Also, blank values will break the selector, remove it.
if (array_key_exists('', $options)) {
unset($options['']);
for ($i = 1; $i <= $this->view->total_rows; $i++) {
$options[$i] = $i;
}
ksort($options);
}
// Now that we have all the available weight values, populate the forms.
foreach ($this->view->result as $row_index => $row) {
$entity = $row->_entity;

Loading…
Cancel
Save