diff --git a/config/sync/pathauto.pattern.opportunity_nodes.yml b/config/sync/pathauto.pattern.opportunity_nodes.yml new file mode 100644 index 000000000..018e75bcd --- /dev/null +++ b/config/sync/pathauto.pattern.opportunity_nodes.yml @@ -0,0 +1,22 @@ +uuid: df51e9ce-8c30-45df-b567-5a684958ceeb +langcode: en +status: true +dependencies: + module: + - node +id: opportunity_nodes +label: 'Opportunity Nodes' +type: 'canonical_entities:node' +pattern: 'opportunities/[node:title]' +selection_criteria: + 11c425f0-6864-4af2-868f-f9a89ebb71df: + id: 'entity_bundle:node' + negate: false + uuid: 11c425f0-6864-4af2-868f-f9a89ebb71df + context_mapping: + node: node + bundles: + stanford_opportunity: stanford_opportunity +selection_logic: and +weight: -5 +relationships: { } diff --git a/config/sync/rabbit_hole.behavior_settings.node_type_stanford_opportunity.yml b/config/sync/rabbit_hole.behavior_settings.node_type_stanford_opportunity.yml index 4675bc98e..e53242287 100644 --- a/config/sync/rabbit_hole.behavior_settings.node_type_stanford_opportunity.yml +++ b/config/sync/rabbit_hole.behavior_settings.node_type_stanford_opportunity.yml @@ -7,8 +7,8 @@ dependencies: id: node_type_stanford_opportunity entity_type_id: node_type entity_id: stanford_opportunity -action: display_page +action: page_redirect allow_override: 1 -redirect: '' +redirect: '[node:su_opp_source:uri]' redirect_code: 301 -redirect_fallback_action: access_denied +redirect_fallback_action: display_page