Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/assets/metadata_entity_reference_config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/metadata_entity_reference_config_vocabs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 15 additions & 2 deletions docs/user-documentation/content-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,24 @@ In the Admin menu, return to **Structure** >> **Content Types** and find the _Re

To create your own custom content type from scratch, please refer to [this guide](https://www.drupal.org/docs/8/administering-drupal-8-site/managing-content-0/create-a-custom-content-type) on Drupal.org.

Your custom content types can contain whatever fields you like, but there are two mandatory fields that all Islandora content types should contain:
Your custom content types can contain whatever fields you like, but there
are two important fields that all Islandora content types should contain:

1. In order for a custom content type to be considered an Islandora Object, it needs to have the field "Member of" ('field_member_of'). This allows it to be included in contexts that have the "Node is an Islandora node" condition. Nodes that have this field will automatically be synced to Fedora and indexed by the triple store if you are using the context provided by the Islandora Starter Site. Having this field present in your content type also gives you tabs for adding children and media when viewing an item of that content type.

2. The other mandatory field is "Model" ('field_model'). This is used in several of the contexts that the Islandora Starter Site provides. This field determines how Islandora objects are displayed, and how media derivatives are created.
2. A useful field is "Model" ('field_model'). This is used in several of the
contexts that the Islandora Starter Site provides. Out of the box, this
field determines how Islandora objects are displayed, and how media
derivatives are created. These behaviours can be customized to depend on
other criteria, if desired.

### Configure media to have the new content type as a target

Each media type contains a field called "Media of" (`field_media_of`) which
allows a media to point to its parent node. This field is configured out of
the box to only allow "Repository Item". If you want your new content type
to be able to have media, configure each Media Type that you want available so
that "Media of" (also) allows your new content type.

## Updating and creating an RDF Mapping

Expand Down
Loading