Updated: Comment #0

Problem/Motivation

sun rightfully complained in #1996238: Replace hook_library_info() by *.libraries.yml file that the CKEditor module's library definitions contain a setting that is dynamically generated, which violates the immutability principle of libraries.

While working on removing this, I noticed that this was not being used at all.

Worse: the original commit of ckeditor.module shows that it was never used!

Proposed resolution

Get rid of it. Good riddance!

Remaining tasks

None.

User interface changes

None.

API changes

None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Wim Leers’s picture

Status: Active » Needs review
FileSize
929 bytes
nod_’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +JavaScript

(deadcode--)++ or something :D

That works.

sun’s picture

If possible, it would be great to defer these commits on #1996238: Replace hook_library_info() by *.libraries.yml file, because that one is an utter pain to re-roll.

Wim Leers’s picture

#3 is not yet ready, and it allows you to simply *remove* several hunks from that patch, so I respectfully disagree.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

#1996238: Replace hook_library_info() by *.libraries.yml file was already broken by it looks like many other things, so will need a re-roll in any event. Getting this one in in the meantime.

Committed and pushed to 8.x. Thanks!

Wim Leers’s picture

Issue tags: -sprint

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.