Deprecation: #73442 - Modal.getSeverityClass has been moved to the Severity module

See Issue #73442

Description

The method Modal.getSeverityClass has been moved to Severity.getCssClass. Modal.getSeverityClass has been marked as deprecated.

Impact

Calling Modal.getSeverityClass will trigger a console warning in the browser.

Affected Installations

All 3rd party extensions using Modal.getSeverityClass are affected.

Migration

Change the calls to Severity.getCssClass(severity).