Edit checkpoint label

Created on 29 April 2025, 16 days ago

Problem/Motivation

Currently, we cannot edit the label provided to a defined checkpoint.

Steps to reproduce

  • Create a checkpoint on /admin/config/development/config-checkpoints/create
  • On the listing, there is no option to edit the label admin/config/development/config-checkpoints

Proposed resolution

Provide a link to edit the label.

Remaining tasks

TBD

User interface changes

Provide an edit link on the checkpoints listing page

API changes

Data model changes

Feature request
Status

Active

Component

User interface

Created by

🇮🇳India prashant.c Dharamshala

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

Comments & Activities

  • Issue created by @prashant.c
  • 🇨🇭Switzerland bircher 🇨🇿

    The reason there is no edit button is that the underlying api doesn't expose editing the checkpoint label. But if we have a test that asserts the functionality I see no harm in messing with the internals (ie it might break at any moment, therefore we absolutely need a test to verify that it works)

  • 🇮🇳India prashant.c Dharamshala

    Yes, I was just going through the files in core/lib/Drupal/Core/Config/Checkpoint. You are correct, the underlying API does not provide a way to change the label. Then, in that case, you may close this issue.

    Thanks

Production build 0.71.5 2024