Remove path_alias dependency from views

Created on 16 May 2024, 6 months ago

Problem/Motivation

In πŸ“Œ Make "path_alias" module optional Needs work it was noted that \Drupal\views\Plugin\views\argument_default\Raw depends on the path_alias module, which is hidden and enabled by default. That issue makes path_alias optional, but adds it as a dependency to views. Since that one argument is such a minor part of views it is not ideal to depend on path_alias just for this.

Steps to reproduce

Proposed resolution

  • Remove "use_alias" option from raw plugin.
  • Alter the plugin in path_alias module to provide alias support
  • Alternatively, provide a new plugin in path_alias module that provides the same functionality

Obviously we can't introduce a views dependency to the path_alias module, so whatever way we go needs to ensure both modules can be installed independently.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 2 hours ago

Created by

πŸ‡¦πŸ‡ΊAustralia mstrelan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024