Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In the issue #2916154: JS codestyle: no-multi-assign it came up that we could simplify some code by using this.
or Drupal.states.
instead of introducing a local variable like const states
, see #2916154-24: JS codestyle: no-multi-assign for example
Proposed resolution
Adapt those points.
Comments
Comment #2
dawehner