By naveenvalecha on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
8.8.x
Introduced in version:
8.8.0
Issue links:
Description:
In order to minimize the need to include files containing constants in the global namespace, a new class \Drupal\Core\Requirements has been created and four global constants have been deprecated.
Instead of REQUIREMENT_INFO, use \Drupal\Core\Requirements::SEVERITY_INFO instead.
Instead of REQUIREMENT_OK, use \Drupal\Core\Requirements::SEVERITY_OK instead.
Instead of REQUIREMENT_WARNING, use \Drupal\Core\Requirements::SEVERITY_WARNING instead.
Instead of REQUIREMENT_ERROR, use \Drupal\Core\Requirements::SEVERITY_ERROR instead.
Impacts:
Module developers