Closed inghamn closed 2 years ago
Drupal 9 has a completely rewritten Media system in core. Our use of cover_image and content_images relied on the old Media Entity module. We need to update our theme to work with the new Media in core.
For the most part, things should be compatible, although the default field names for the images in Media seem to have changed.
cob.theme uses a deprecated and remove function:
Call to deprecated function drupal_get_messages(). Deprecated in drupal:8.5.0 and is removed from drupal:9.0.0. Use Drupal\Core\Messenger\MessengerInterface::all() or \Drupal\Core\Messenger\MessengerInterface::messagesByType() instead.
https://api.drupal.org/api/drupal/8.9.x/search/drupal_get_messages
Add core_version_requirement: ^8 || ^9 to designate that the module is compatible with Drupal 9. See https://drupal.org/node/3070687.