UPDATE_ACTION_DELETE should document that it works by updating the alias entity

Created on 14 May 2025, 3 days ago

Problem/Motivation

In the UI, the option for UPDATE_ACTION_DELETE talks of deleting the alias, which is correct for end-users:

> PathautoGeneratorInterface::UPDATE_ACTION_DELETE => $this->t('Create a new alias. Delete the old alias.'),

However, it's important for developers to know that this option works by *updating* the alias value of the existing path_alias entity.

This should be documented somewhere, probably on the UPDATE_ACTION_DELETE constant.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Documentation

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024