diff --git a/composer.json b/composer.json index 13718a2..81fb73a 100644 --- a/composer.json +++ b/composer.json @@ -20,6 +20,7 @@ "drupal/core-project-message": "^10.1", "drupal/core-recommended": "^10.1", "drupal/linked_field": "^1.5", + "drupal/page_manager": "^4.0@RC", "drupal/structure_sync": "^2.0", "wikimedia/composer-merge-plugin": "^2.1" }, diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 2972234..e7f6aa2 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -73,6 +73,7 @@ module: node: 0 options: 0 page_cache: 0 + page_manager: 0 pagerer: 0 path: 0 path_alias: 0 diff --git a/config/sync/page_manager.page.node_view.yml b/config/sync/page_manager.page.node_view.yml new file mode 100644 index 0000000..c9488d9 --- /dev/null +++ b/config/sync/page_manager.page.node_view.yml @@ -0,0 +1,18 @@ +uuid: e93d1bbb-5628-4a43-bfe2-6ba0a496e264 +langcode: fr +status: true +dependencies: { } +_core: + default_config_hash: RCVWP-yHwxSNiQORMIabDgHMEVqOMW58w80BQgRFJ4k +id: node_view +label: 'Vue du nœud' +description: 'When enabled, this overrides the default Drupal behavior for displaying nodes at /node/{node}. If you add variants, you may use selection criteria such as node type or language or user access to provide different views of nodes. If no variant is selected, the default Drupal node view will be used. This page only affects nodes viewed as pages, it will not affect nodes viewed in lists or at other locations.' +use_admin_theme: false +path: '/node/{node}' +access_logic: and +access_conditions: { } +parameters: + node: + machine_name: node + label: Nœud + type: 'entity:node'