Closed (fixed)
Project:
Domain Path
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2026 at 13:40 UTC
Updated:
30 Jan 2026 at 15:54 UTC
Jump to comment: Most recent
When the `Hide the default URL alias UI` setting is disabled, the domain path field does not appear in the sidebar, instead it appears in the normal content area
Enable the module along with domain_path_pathauto, go to the domain path settings and then edit a piece of content and see the location of the domain path field
Update the following code snippet so that the location of the field isn’t determined by the hide path alias ui check
// Hide the default URL alias for better UI.
if ($this->config->get('hide_path_alias_ui')) {
if (isset($form['advanced'])) {
$form[DomainPathHelper::PATH_FIELD]['#group'] = 'advanced';
$form['#after_build'][] = [$this, 'afterEntityFormBuild'];
}
unset($form['path']);
}
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
mably commented@lincoln-batsirayi added a new "use_advanced_group" configuration option.
Can you check that it works as desired in Tugboat?
Comment #5
lincoln-batsirayi commentedI’ve tested this and confirmed it working on my sandbox site and also our main site :)
Comment #7
mably commentedMerged.