The code that verifies the libraries/ckeditor/plugins/dialogadvtab/plugin.js exists should add the Drupal root directory path. This is already done from the hook_requirements implementation, but it's not done from the plugin class, which should still return a path relative to the Drupal root directory, in getFile().

Instead of DRUPAL_ROOT, the code should use the app.root container parameter. See app.root and site.path services have been converted to container parameters for how this can be implemented in code that needs to be compatible with Drupal 8 and Drupal 9.

Comments

apaderno created an issue. See original summary.

avpaderno’s picture

Issue summary: View changes

  • apaderno committed de3c015 on 2.0.x
    Issue #3257953 by apaderno: When verifying the libraries/ckeditor/...

  • apaderno committed c9c9543 on 8.x-1.x
    Issue #3257953 by apaderno: When verifying the libraries/ckeditor/...
avpaderno’s picture

Version: 2.0.x-dev » 8.x-1.x-dev
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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