From 93b679e13b8bfca8bf772c3d9ca59fb90f368e5e Mon Sep 17 00:00:00 2001 From: Seth Shaw Date: Fri, 4 May 2018 16:10:29 -0700 Subject: [PATCH] turn off user/date submitted and publish by default --- README.md | 1 + ..._field_override.node.unlv_image.status.yml | 21 +++++++++++++++++++ .../config/install/node.type.unlv_image.yml | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 unlv_image/config/install/core.base_field_override.node.unlv_image.status.yml diff --git a/README.md b/README.md index a240023..b9f632f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/unlv_image/config/install/core.base_field_override.node.unlv_image.status.yml b/unlv_image/config/install/core.base_field_override.node.unlv_image.status.yml new file mode 100644 index 0000000..1aeb80b --- /dev/null +++ b/unlv_image/config/install/core.base_field_override.node.unlv_image.status.yml @@ -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 diff --git a/unlv_image/config/install/node.type.unlv_image.yml b/unlv_image/config/install/node.type.unlv_image.yml index 0e15012..289a5dd 100644 --- a/unlv_image/config/install/node.type.unlv_image.yml +++ b/unlv_image/config/install/node.type.unlv_image.yml @@ -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