No Code Attached Yet
avatar chmst
chmst
6 Jun 2026

Plugins in editors-xtd contain the method onDisplay().
These methods have a "deprecated" message, but cannot removed as they provide the button.

The Deprecation message is wrong and needs to be reverted.

Possible solutions:
Rename the method and make it private or integrate the code into onEditorButtonsSetup.

@Fedik

avatar chmst chmst - open - 6 Jun 2026
avatar joomla-cms-bot joomla-cms-bot - change - 6 Jun 2026
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Jun 2026
avatar chmst chmst - change - 6 Jun 2026
The description was changed
avatar chmst chmst - edited - 6 Jun 2026
avatar HLeithner
HLeithner - comment - 6 Jun 2026

PR for it #47902

avatar Fedik
Fedik - comment - 7 Jun 2026

Should use onEditorButtonsSetup.
onDisplay will not be in use in future, however it can be modified to return button object to reduce amount of work. As I did in few buttons.

The Manual for new API Editors Buttons (XTD) Plugin

avatar joomdonation joomdonation - change - 7 Jun 2026
Status New Closed
Closed_Date 0000-00-00 00:00:00 2026-06-07 07:39:21
Closed_By joomdonation
avatar joomdonation joomdonation - close - 7 Jun 2026
avatar joomdonation
joomdonation - comment - 7 Jun 2026

Thanks for the info @Fedik . I'm closing the issue because necessary changes were implemented on PR #47902 and it was merged.

Add a Comment

Login with GitHub to post a comment