Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Images using nodes (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
dannylamb authored and ruebot committed Jun 1, 2017
1 parent c970f0b commit e0fab4a
Show file tree
Hide file tree
Showing 26 changed files with 254 additions and 232 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
module:
- file
_core:
default_config_hash: mcmTrxQdaQ2m-gLvoprxw9Ymf9Y5TxjlDOcoVL6umFE
default_config_hash: NjNvUlZ7jFrfr5jP8goGnj5a5hYQZ-T-rKZUH4HMEBs
id: media.image_obj.default
targetEntityType: media
bundle: image_obj
Expand All @@ -23,13 +23,15 @@ content:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
name:
type: string_textfield
weight: 0
settings:
size: 60
placeholder: ''
third_party_settings: { }
region: content
hidden:
created: true
uid: true
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
module:
- file
_core:
default_config_hash: YIfUy1ZPXFFCEknjmEwVRSL19fEc9Bm8BdQv21CBi-M
default_config_hash: EtJ7MHMvbJSDO7jhctuoC4eWbci8r3WFI3zFVB3kDh8
id: media.image_obj.inline
targetEntityType: media
bundle: image_obj
Expand All @@ -24,6 +24,7 @@ content:
settings:
progress_indicator: throbber
third_party_settings: { }
region: content
hidden:
created: true
name: true
Expand Down
4 changes: 4 additions & 0 deletions config/install/core.entity_form_display.media.jp2.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ dependencies:
- islandora_image
module:
- file
_core:
default_config_hash: 37bRQzX0wyEOyhghTzM989KL6wz7GeXphRssYxDR3rk
id: media.jp2.default
targetEntityType: media
bundle: jp2
Expand All @@ -21,13 +23,15 @@ content:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
name:
type: string_textfield
weight: 0
settings:
size: 60
placeholder: ''
third_party_settings: { }
region: content
hidden:
created: true
uid: true
3 changes: 3 additions & 0 deletions config/install/core.entity_form_display.media.jp2.inline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ dependencies:
- islandora_image
module:
- file
_core:
default_config_hash: eYXZBQC7Ob8XIQKvEuSaA1_GDIrr6ayzXN6kgoh0mqU
id: media.jp2.inline
targetEntityType: media
bundle: jp2
Expand All @@ -22,6 +24,7 @@ content:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
hidden:
created: true
name: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ dependencies:
- field.field.media.medium_size.field_height
- field.field.media.medium_size.field_image
- field.field.media.medium_size.field_mimetype
- field.field.media.medium_size.field_width
- image.style.thumbnail
- media_entity.bundle.medium_size
enforced:
module:
- islandora_image
module:
- image
_core:
default_config_hash: BQYGAq_pqqoUpwvXC9X0VetW_I76vGEyJ5TRzJ7Jk60
id: media.medium_size.default
targetEntityType: media
bundle: medium_size
Expand All @@ -26,13 +27,15 @@ content:
preview_image_style: thumbnail
third_party_settings: { }
type: image_image
region: content
name:
type: string_textfield
weight: 0
settings:
size: 60
placeholder: ''
third_party_settings: { }
region: content
hidden:
created: true
field_height: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
uuid: 1fd21e8f-b403-43ed-86bf-338888b5efc2
uuid: cf702621-6f2a-4483-ae54-29139ad0df44
langcode: en
status: true
dependencies:
Expand All @@ -7,14 +7,15 @@ dependencies:
- field.field.media.medium_size.field_height
- field.field.media.medium_size.field_image
- field.field.media.medium_size.field_mimetype
- field.field.media.medium_size.field_width
- image.style.thumbnail
- media_entity.bundle.medium_size
enforced:
module:
- islandora_image
module:
- image
_core:
default_config_hash: ZXnucq5OfSp2B7Ae8WugvUQJCRuPpdDIGpO6iZV0vvA
id: media.medium_size.inline
targetEntityType: media
bundle: medium_size
Expand All @@ -27,6 +28,7 @@ content:
preview_image_style: thumbnail
third_party_settings: { }
type: image_image
region: content
hidden:
created: true
field_height: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,38 +1,43 @@
uuid: e5045eac-dedc-4760-b88c-f1685c7bd2f1
uuid: d2eff5ae-f532-446b-8461-a85f315fb6ad
langcode: en
status: true
dependencies:
config:
- core.entity_form_mode.media.inline
- field.field.fedora_resource.islandora_image.field_description
- field.field.fedora_resource.islandora_image.field_jp2
- field.field.fedora_resource.islandora_image.field_medium_size
- field.field.fedora_resource.islandora_image.field_memberof
- field.field.fedora_resource.islandora_image.field_obj
- field.field.fedora_resource.islandora_image.field_tn
- islandora.fedora_resource_type.islandora_image
- field.field.node.islandora_image.field_description
- field.field.node.islandora_image.field_jp2
- field.field.node.islandora_image.field_medium_size
- field.field.node.islandora_image.field_memberof
- field.field.node.islandora_image.field_obj
- field.field.node.islandora_image.field_tn
- node.type.islandora_image
module:
- inline_entity_form
- path
enforced:
module:
- islandora_image
module:
- inline_entity_form
_core:
default_config_hash: '-ytx6b923nF609o5xiHNcNEgbFTS4vPrH6dpK22lq2o'
id: fedora_resource.islandora_image.default
targetEntityType: fedora_resource
id: node.islandora_image.default
targetEntityType: node
bundle: islandora_image
mode: default
content:
created:
type: datetime_timestamp
weight: 2
region: content
settings: { }
third_party_settings: { }
field_description:
weight: 4
weight: 6
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
field_jp2:
weight: 6
weight: 9
settings:
form_mode: inline
label_singular: ''
Expand All @@ -45,7 +50,7 @@ content:
type: inline_entity_form_complex
region: content
field_medium_size:
weight: 7
weight: 10
settings:
form_mode: inline
label_singular: ''
Expand All @@ -58,7 +63,7 @@ content:
type: inline_entity_form_complex
region: content
field_memberof:
weight: 3
weight: 7
settings:
match_operator: CONTAINS
size: 60
Expand All @@ -67,7 +72,7 @@ content:
type: entity_reference_autocomplete
region: content
field_obj:
weight: 5
weight: 8
settings:
form_mode: inline
label_singular: ''
Expand All @@ -80,7 +85,7 @@ content:
type: inline_entity_form_complex
region: content
field_tn:
weight: 8
weight: 11
settings:
form_mode: inline
label_singular: ''
Expand All @@ -92,41 +97,41 @@ content:
third_party_settings: { }
type: inline_entity_form_complex
region: content
langcode:
type: language_select
weight: 9
settings: { }
third_party_settings: { }
path:
type: path
weight: 5
region: content
name:
type: string_textfield
weight: 0
settings:
size: 60
placeholder: ''
settings: { }
third_party_settings: { }
region: content
promote:
type: boolean_checkbox
settings:
display_label: true
weight: 10
third_party_settings: { }
weight: 3
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 11
weight: 4
region: content
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
user_id:
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 1
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
region: content
third_party_settings: { }
hidden: { }

This file was deleted.

Loading

0 comments on commit e0fab4a

Please sign in to comment.