diff --git a/ckeditor_iframe.install b/ckeditor_iframe.install
index 6641bcc..cef5786 100644
--- a/ckeditor_iframe.install
+++ b/ckeditor_iframe.install
@@ -1,10 +1,12 @@
 <?php
 
+use Drupal\Component\Utility\DeprecationHelper;
+use Drupal\Core\Extension\Requirement\RequirementSeverity;
+
 /**
  * @file
  * CKEditor iFrame install file.
  */
-
 /**
  * Implements hook_requirements().
  */
@@ -19,14 +21,14 @@ function ckeditor_iframe_requirements($phase) {
         $requirements['ckeditor_iframe'] = [
           'title' => t('CKEditor iFrame (CKEditor 4)'),
           'value' => t('Plugin detected'),
-          'severity' => REQUIREMENT_OK,
+          'severity' => DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '11.2.0', fn() => RequirementSeverity::OK, fn() => REQUIREMENT_OK),
         ];
       }
       else {
         $requirements['ckeditor_iframe'] = [
           'title' => t('CKEditor iFrame (CKEditor 4)'),
           'value' => t('Plugin not detected'),
-          'severity' => REQUIREMENT_WARNING,
+          'severity' => DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '11.2.0', fn() => RequirementSeverity::Warning, fn() => REQUIREMENT_WARNING),
           'description' => t('If you wish to use this module with CKEditor 4, you must download the <a href=":plugin_url">CKEditor4 iFrame plugin</a> before enabling the CKEditor Iframe module. Place the plugin in the /libraries/iframe folder.', [':plugin_url' => 'http://ckeditor.com/addon/iframe']),
         ];
       }
