D9 compatibility issues

Created on 11 October 2021, over 2 years ago
Updated 13 December 2023, 7 months ago

1. modules/contrib/social_profile_field/src/Plugin/Field/FieldFormatter/SocialProfileFieldDefaultFormatter.php

Call to deprecated function check_url(). Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use UrlHelper::stripDangerousProtocols() or UrlHelper::filterBadProtocol() instead. UrlHelper::stripDangerousProtocols() can be used in conjunction with \Drupal\Component\Render\FormattableMarkup and an @variable placeholder which will perform the necessary escaping. UrlHelper::filterBadProtocol() is functionality equivalent to check_url() apart from the fact it is protected from double escaping bugs. Note that this method no longer marks its output as safe.

2. modules/contrib/social_profile_field/social_profile_field.info.yml

Add core_version_requirement: ^8 || ^9 to designate that the module is compatible with Drupal 9. See https://drupal.org/node/3070687.

πŸ’¬ Support request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom olekstkach Liverpool

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024