Skip to content

Commit a243942

Browse files
Merge pull request #4 from dennisinteractive/CMS-1243-mirror-contrib
CMS-1243 Version beta4 copy
2 parents 291efb0 + 7049e33 commit a243942

40 files changed

+2031
-1599
lines changed

CHANGELOG.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Domain Path 8.x-1.0-beta4 , 2020-05-22
2+
--------------------------------------
3+
#3136977: When deleting an entity, translated domain paths are not deleted
4+
#3112534: Wrong validation on edit (Domain path matches an existing domain path alias...)
5+
#3137375: Remove deprecated code on DomainPathForm
6+
#3131284: Support pathauto for domain
7+
#3138970: Delete domain paths on domain delete
8+
#3040648: Unsaved Node Preview Causes fatal error.
9+
10+
Domain Path 8.x-1.0-beta3 , 2020-05-12
11+
--------------------------------------
12+
#2976931: 'View' permission check name doesn't match permission definition
13+
#3009372: Domain path fieldset not in advanced node sidebar after upgrade to Drupal 8.6.x
14+
#3121647: Domain specific path validation does not work when pathauto autogenerate enabled
15+
#3121607: Add domain label title configuration options like domain navigation block does
16+
#3122607: processOutbound is generating wrong path when entity is not available on current domain
17+
#3128283: Respect url language options
18+
#3127593: Domain path field not hidden for disallowed domains

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
Domain Path
2-
======
1+
Domain path
2+
===========
33

4-
This module has been ported to D8 by Dennis.
4+
The Domain Path module allows the creation of separate path aliases per domain
5+
for entities created using the Domain Access module. For example, it looks like:
6+
https://d.pr/free/i/O4Vr9z on node edit form. The path aliases per domain are
7+
implemented as separate "domain_path" content entities. It is possible to create,
8+
edit or delete path alias per domain manually here - "admin/config/domain_path"
9+
(https://d.pr/free/i/8KbeOU).
510

6-
The issue to port is https://www.drupal.org/node/2821633 on https://www.drupal.org/project/domain_path
7-
8-
Current status
9-
------
10-
The a number of outstanding issues concerned with making it work with Pathauto module. The Pathauto module follows a different flow when generating aliases and makes it difficult to extend. Known issues include:
11-
* We have removed the logic that allows alias storage service to respect the wishes of the passing service in regards to whether to update or insert a new record. This would be required to maintain all functionality in Pathauto module.
12-
* Aliases don't respect access checks on nodes, meaning users with bypass node access permissions who can see a node can't always see the path alias.
13-
* If an alias has been entered but the node has not been enabled on any domains, the alias will not be saved, and the path field will be cleared on next load.
11+
The module is ready for testing, but requires Domain Access to work correctly.
12+
For background, see issue here - https://www.drupal.org/node/2878050.

composer.json

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
entity_types:
2+
node: '1'
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
domain_path.settings:
2+
type: config_object
3+
mapping:
4+
entity_types:
5+
label: Enabled entity types for domain paths
6+
type: sequence
7+
sequence:
8+
type: string

domain_path.info.yml

100644100755
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
name: Domain Path
1+
name: 'Domain Path'
2+
description: 'Allows separate path aliases per domain.'
23
type: module
34
package: Domain
4-
description: 'Allow the same path to be used across different domains.'
5-
core: 8.x
6-
5+
core_version_requirement: ^8.8 || ^9
76
dependencies:
7+
- path
88
- domain
9-
- domain_access
10-
- domain_config

domain_path.install

Lines changed: 0 additions & 17 deletions
This file was deleted.

domain_path.links.action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
entity.domain_path_add:
2+
route_name: entity.domain_path_add
3+
title: 'Add Domain path'
4+
appears_on:
5+
- entity.domain_path.collection

domain_path.links.menu.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
entity.domain_path.admin:
2+
title: Domain Path
3+
route_name: entity.domain_path.collection
4+
parent: system.admin_config
5+
description: 'Domain Path configuration'
6+
weight: 0
7+
entity.domain_path.collection:
8+
title: 'Domain Paths'
9+
route_name: entity.domain_path.collection
10+
parent: entity.domain_path.admin
11+
description: 'Lists Domain Paths'
12+
weight: -10
13+
domain_path.admin.settings:
14+
title: Domain Path Settings
15+
route_name: entity.domain_path_settings
16+
parent: entity.domain_path.admin
17+
description: 'Configure Domain Paths'
18+
weight: 0

domain_path.links.task.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
domain_path.admin:
2+
title: Domain Path List
3+
route_name: entity.domain_path.collection
4+
base_route: entity.domain_path.collection
5+
domain_path.settings_tab:
6+
title: Domain Path Settings
7+
route_name: entity.domain_path_settings
8+
base_route: entity.domain_path.collection

0 commit comments

Comments
 (0)