refactor: document duplicate page layout feature and clean comments

Summary

Currently, the operations available for a Page Layout at 'admin/structure/page-layout' are Build, Edit, and Delete. This Merge Request (MR) introduces a new "Duplicate" operation to the Page Layout listing.

User Flow

  1. Navigate to 'admin/structure/page-layout'.
  2. On an existing page layout (e.g., "my-page-layout"), click the "Duplicate" operation.
  3. The user is redirected to the duplication form, for example: 'admin/structure/page-layout/duplicate_of_my_page_layout/duplicate'.
  4. A pre-filled form for the new page layout is displayed, with a suggested Label (e.g., "Duplicate of my-page-layout") and Machine Name.
  5. The user can accept these defaults or modify either field.
  6. Upon clicking "Save", a new, duplicated page layout is created.

Merge request reports

Loading