You are here

Deprecated in Open Social 8.9

Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Namesort descending Location Type Deprecation Direct uses Namespaced uses Overrides Use statements
ActivityNotifications::markEntityAsRead modules/custom/activity_creator/src/ActivityNotifications.php function in opensocial:8.x-7.1 and is removed from opensocial:8.x-8.0. Use \Drupal\activity_creator\ActivityNotifications ::markEntityNotificationsAsSeen() instead. TODO: Change
EventPassedDesc modules/social_features/social_event/src/Plugin/views/sort/EventPassedDesc.php class in Open Social 9.1. Use Drupal\social_event\Plugin\views\sort\EventDate.
hook_social_user_account_header_links modules/social_features/social_user/social_user.api.php function This method is replaced by hook_social_user_account_header_account_links for greater flexibility.
LanguageSwitcherBlock modules/custom/social_language/src/Plugin/Block/LanguageSwitcherBlock.php class in 8.x will be removed in 9.x.
NotificationsController::readNotificationCallback modules/custom/activity_creator/src/Controller/NotificationsController.php function in social:8.x-7.0 and is removed from social:8.x-8.0. Use NotificationsController::getNotificationListCallback() instead.
page-hero-data.html.twig themes/socialbase/templates/node/page-hero-data.html.twig file The template is not used anymore. Use node--hero.html.twig instead Available variables: title hero_node node node_type section_class event_enrollment hero_styled_image_url
post--activity-comment.html.twig themes/socialbase/templates/post/post--activity-comment.html.twig file The template is not used anymore since comments are aggegrated with the post itself. If a developer disables aggegration of comments this template will be used again. Available variables: content: A list of content items. Use 'content' to print all content, or attributes: HTML attributes for the container element.
SocialLanguageMetadataBubblingUrlGenerator modules/custom/social_language/src/SocialLanguageMetadataBubblingUrlGenerator.php class in Open Social 8.x and will be removed before 9.0.
social_group_get_all_group_members modules/social_features/social_group/social_group.module function in Open Social 4.2 and will be removed in one of the next major updates. This function is moved to the service social_group.helper_service, use getAllGroupsForUser() instead. 2

Other projects