By vnech on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.5.x
Introduced in version:
11.5.0
Issue links:
Description:
In Drupal core 9.3 was introduced bundle class feature for nodes. As event node type has a lot fields which take part in the event behaviours, event itself should have these behaviours like an object methods. That's why event node type was wrapped in own node bundle class - \Drupal\social_event\Entity\Node\Event.
The service social_event.enroll was declared as deprecated because the method \Drupal::service('social_event.enroll')->isEnabled($event) was moved to \Drupal\social_event\Entity\Node\Event::isEnrollmentEnabled().
Impacts:
Module developers
Site templates, recipes and distribution developers