Fix capitalisation on moduleHandler within TablefieldFormatter

Created on 6 December 2022, over 2 years ago
Updated 3 May 2024, over 1 year ago

Problem/Motivation

I'm subclassing TablefieldFormatter to customise the display of table cells. While running my changes through drupal-check, it claimed that it couldn't find the ModuleHandler property that gets used in the viewElements method. I can see the moduleHandler property being declared in the class, but case sensitivity seems to be the issue here.

Steps to reproduce

Run the module's codebase through drupal-check.

Proposed resolution

Change all references to $this->ModuleHandler to $this->moduleHandler to match the class property that gets declared.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇦🇺Australia geoffreyr Sydney, AU / Gadigal country

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024