needless code in showForm()

Created on 3 June 2025, 9 days ago

Problem/Motivation

WasteCollectionController::showForm() has these lines after it's got the form from the form builder service:

    $form['postcode']['#title'] = $this->t("Postcode");
    $form['postcode']['#description'] = $this->t('For example LA9 4DQ');

These actually just re-do what's already in the form -- albeit with a different postcode!

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom joachim

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024