diff --git a/core/modules/outside_in/js/outside_in.es6.js b/core/modules/outside_in/js/outside_in.es6.js index 694aca85b0..6789c73158 100644 --- a/core/modules/outside_in/js/outside_in.es6.js +++ b/core/modules/outside_in/js/outside_in.es6.js @@ -1,6 +1,12 @@ /** * @file * Drupal's Settings Tray library. + * + * The Drupal.t() function is used in this file but cannot be destructed here + * because Javascript files are scanned for calls to Drupal.t(). + * + * @todo Destructure Drupal.t() if in possilbe in https://www.drupal.org/node/2893361 + * @see _locale_parse_js_file() */ (function ($, { announce, ajax, attachBehaviors, toolbar, behaviors }) { const blockConfigureSelector = '[data-outside-in-edit]';