Skip to content

Commit

Permalink
turn off user/date submitted and publish by default
Browse files Browse the repository at this point in the history
  • Loading branch information
seth-shaw-unlv committed May 4, 2018
1 parent e91be68 commit 93b679e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Note: using drush with migrate_tools is optional, but the instructions assume it
0. Enable the modules. E.g. `drush en -y migrate_tools migrate_apollo`.
0. Run the migration. E.g. `drush mim --all`. *Note: drush must be run by the webserver user because the claw_file migration copies files to the "public://directory". E.g.* `sudo -u www-data drush mim --all` *if you are using vagrant.*
0. Generate service images. *Migrate is not triggering context actions. Until we figure out that problem you will need to do it yourself by going to the content page, selecting all the items you migrated, and then use the "Generate a service file from image preservation master". This will trigger both the service image and, as a chain reaction, the thumbnail generation.*
0. Publish the newly migrated items. *By default this content type does not publish new items to make finding them in the previous step easier.*
0. See a wonderful list of the newly migrated images on your Drupal site's front page!

# Combining People and Subject entities in a single column
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
langcode: en
status: true
dependencies:
config:
- node.type.unlv_image
id: node.unlv_image.status
field_name: status
entity_type: node
bundle: unlv_image
label: Published
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
2 changes: 1 addition & 1 deletion unlv_image/config/install/node.type.unlv_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ description: 'Models images in Islandora using a UNLV metadata profile'
help: ''
new_revision: true
preview_mode: 1
display_submitted: true
display_submitted: false

0 comments on commit 93b679e

Please sign in to comment.