Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21292

Don't use deprecated or removed SafeMarkup methods in D8 module

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      Yes

      Description

      The civicrm-drupal module for Drupal 8 uses the deprecated SafeMarkup class in a couple of places, including some methods that were removed entirely.

      One instance of using SafeMarkup::set() (which was removed) in \Drupal\civicrm\Form\UserProfile will cause a fatal error if you go to the "Name and Address" tab on a user profile.

      All instances of SafeMarkup should be replaced with their recommended substitutes per https://www.drupal.org/node/2549395

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dsnopek David Snopek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: