By diegoe on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.3.x
Introduced in version:
11.3.0
Issue links:
Description:
The constants DRUPAL_DISABLED, DRUPAL_OPTIONAL, DRUPAL_REQUIRED have been deprecated.
Use of these constants have been replaced with enum classes in the respective modules.
commentlinknode
The new, equivalent enums have kept the same integer values.
See:
core/modules/comment/src/CommentPreview.phpcore/modules/link/src/LinkTitleVisibility.phpcore/modules/node/src/NodePreview.php
Either use the appropriate new enum or create a custom enum.
Impacts:
Module developers