Problem/Motivation

------ ----------------------------------------------------------------------
  Line   entity_pilot.install
 ------ ----------------------------------------------------------------------
  45     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ ----------------------------------------------------------------------

 ------ --------------------------------------------------------------------------
  Line   entity_pilot.module
 ------ --------------------------------------------------------------------------
  60     Call to deprecated method entityManager() of class Drupal:
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal::entityTypeManager() instead in most cases. If the needed
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
         deprecated \Drupal\Core\Entity\EntityManager to find the
         correct interface or service.
 ------ --------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------
  Line   modules/entity_pilot_map_config/src/BundleMappingListBuilder.php
 ------ -------------------------------------------------------------------------------------
  26     Call to deprecated method getLabel() of class Drupal\Core\Entity\EntityListBuilder:
         in Drupal 8.0.x, will be removed before Drupal 9.0.0
         Use $entity->label() instead. This method used to escape the entity
         label. The render system's autoescape is now relied upon.
 ------ -------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------
  Line   modules/entity_pilot_map_config/src/FieldMappingListBuilder.php
 ------ -------------------------------------------------------------------------------------
  26     Call to deprecated method getLabel() of class Drupal\Core\Entity\EntityListBuilder:
         in Drupal 8.0.x, will be removed before Drupal 9.0.0
         Use $entity->label() instead. This method used to escape the entity
         label. The render system's autoescape is now relied upon.
 ------ -------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------
  Line   modules/entity_pilot_map_config/src/Form/BundleMappingDeleteForm.php
 ------ ----------------------------------------------------------------------
  41     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ ----------------------------------------------------------------------

 ------ ----------------------------------------------------------------------
  Line   modules/entity_pilot_map_config/src/Form/BundleMappingForm.php
 ------ ----------------------------------------------------------------------
  136    Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  142    Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ ----------------------------------------------------------------------

 ------ ----------------------------------------------------------------------
  Line   modules/entity_pilot_map_config/src/Form/FieldMappingDeleteForm.php
 ------ ----------------------------------------------------------------------
  41     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ ----------------------------------------------------------------------

 ------ ----------------------------------------------------------------------
  Line   modules/entity_pilot_map_config/src/Form/FieldMappingForm.php
 ------ ----------------------------------------------------------------------
  152    Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  158    Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ ----------------------------------------------------------------------

 ------ --------------------------------------------------------------------------
  Line   src/AirTrafficControl.php
 ------ --------------------------------------------------------------------------
  20     Usage of deprecated trait Drupal\Core\Routing\UrlGeneratorTrait in class
         Drupal\entity_pilot\AirTrafficControl:
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Url instead.
 ------ --------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------
  Line   src/Batch/AirTrafficController.php
 ------ --------------------------------------------------------------------------
  39     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  47     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  50     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  78     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  81     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  115    Call to deprecated method entityManager() of class Drupal:
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal::entityTypeManager() instead in most cases. If the needed
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
         deprecated \Drupal\Core\Entity\EntityManager to find the
         correct interface or service.
  116    Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  127    Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ --------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------
  Line   src/Batch/CustomsOfficer.php
 ------ ----------------------------------------------------------------------------------
  60     Call to deprecated method format() of class Drupal\Component\Utility\SafeMarkup:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Component\Render\FormattableMarkup.
  60     Call to method format() of deprecated class Drupal\Component\Utility\SafeMarkup:
         Will be removed before Drupal 9.0.0. Use the appropriate
  87     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  106    Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  108    Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
  112    Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ ----------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------
  Line   src/Controller/ArrivalController.php
 ------ -------------------------------------------------------------------------------------------
  51     Call to deprecated method entityManager() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Most of the time static::entityTypeManager() is supposed to be used
         instead.
  78     Call to deprecated method url() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Url instead.
  95     Call to deprecated method entityManager() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Most of the time static::entityTypeManager() is supposed to be used
         instead.
  137    Call to deprecated method checkPlain() of class Drupal\Component\Utility\SafeMarkup:
         Will be removed before Drupal 9.0.0. Rely on Twig's
         auto-escaping feature, or use the @link theme_render #plain_text @endlink
         key when constructing a render array that contains plain text in order to
         use the renderer's auto-escaping feature. If neither of these are
         possible, \Drupal\Component\Utility\Html::escape() can be used in places
         where explicit escaping is needed.
  137    Call to deprecated method entityManager() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Most of the time static::entityTypeManager() is supposed to be used
         instead.
  137    Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
         Will be removed before Drupal 9.0.0. Use the appropriate
  151    Call to deprecated method entityManager() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Most of the time static::entityTypeManager() is supposed to be used
         instead.
  166    Call to deprecated method entityManager() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Most of the time static::entityTypeManager() is supposed to be used
         instead.
  181    Call to deprecated method entityManager() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Most of the time static::entityTypeManager() is supposed to be used
         instead.
 ------ -------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------
  Line   src/Controller/DepartureController.php
 ------ -------------------------------------------------------------------------------------------
  24     Call to deprecated method entityManager() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Most of the time static::entityTypeManager() is supposed to be used
         instead.
  51     Call to deprecated method url() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Url instead.
  68     Call to deprecated method entityManager() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Most of the time static::entityTypeManager() is supposed to be used
         instead.
  110    Call to deprecated method checkPlain() of class Drupal\Component\Utility\SafeMarkup:
         Will be removed before Drupal 9.0.0. Rely on Twig's
         auto-escaping feature, or use the @link theme_render #plain_text @endlink
         key when constructing a render array that contains plain text in order to
         use the renderer's auto-escaping feature. If neither of these are
         possible, \Drupal\Component\Utility\Html::escape() can be used in places
         where explicit escaping is needed.
  110    Call to deprecated method entityManager() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Most of the time static::entityTypeManager() is supposed to be used
         instead.
  110    Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
         Will be removed before Drupal 9.0.0. Use the appropriate
  124    Call to deprecated method entityManager() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Most of the time static::entityTypeManager() is supposed to be used
         instead.
  139    Call to deprecated method entityManager() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Most of the time static::entityTypeManager() is supposed to be used
         instead.
  154    Call to deprecated method entityManager() of class Drupal\Core\Controller\ControllerBase:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Most of the time static::entityTypeManager() is supposed to be used
         instead.
 ------ -------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------
  Line   src/Form/AccountForm.php
 ------ -------------------------------------------------------------------------------
  187    Call to deprecated method link() of class Drupal\Core\Entity\EntityInterface:
         in Drupal 8.0.0, intended to be removed in Drupal 9.0.0
         Use \Drupal\Core\EntityInterface::toLink()->toString() instead.
 ------ -------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------
  Line   src/Form/ArrivalApproveForm.php
 ------ ----------------------------------------------------------------------------------------
  101    Call to deprecated method getUsername() of class Drupal\Core\Session\AccountInterface:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Session\AccountInterface::getAccountName() or
         \Drupal\user\UserInterface::getDisplayName() instead.
  115    Call to deprecated method getUsername() of class Drupal\Core\Session\AccountInterface:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Session\AccountInterface::getAccountName() or
         \Drupal\user\UserInterface::getDisplayName() instead.
  129    Call to deprecated method getUsername() of class Drupal\Core\Session\AccountInterface:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Session\AccountInterface::getAccountName() or
         \Drupal\user\UserInterface::getDisplayName() instead.
 ------ ----------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------
  Line   src/Form/ArrivalForm.php
 ------ ----------------------------------------------------------------------------------------
  174    Call to deprecated method getUsername() of class Drupal\Core\Session\AccountInterface:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Session\AccountInterface::getAccountName() or
         \Drupal\user\UserInterface::getDisplayName() instead.
 ------ ----------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------
  Line   src/Form/ArrivalQueueForm.php
 ------ ----------------------------------------------------------------------------------------
  55     Access to deprecated property $entityManager of class Drupal\Core\Entity\EntityForm:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
  74     Call to deprecated method getUsername() of class Drupal\Core\Session\AccountInterface:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Session\AccountInterface::getAccountName() or
         \Drupal\user\UserInterface::getDisplayName() instead.
 ------ ----------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------
  Line   src/Form/DepartureApproveForm.php
 ------ ----------------------------------------------------------------------------------------
  131    Call to deprecated method getUsername() of class Drupal\Core\Session\AccountInterface:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Session\AccountInterface::getAccountName() or
         \Drupal\user\UserInterface::getDisplayName() instead.
  145    Call to deprecated method getUsername() of class Drupal\Core\Session\AccountInterface:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Session\AccountInterface::getAccountName() or
         \Drupal\user\UserInterface::getDisplayName() instead.
  159    Call to deprecated method getUsername() of class Drupal\Core\Session\AccountInterface:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Session\AccountInterface::getAccountName() or
         \Drupal\user\UserInterface::getDisplayName() instead.
 ------ ----------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------
  Line   src/Form/DepartureForm.php
 ------ ----------------------------------------------------------------------------------------
  183    Call to deprecated method getUsername() of class Drupal\Core\Session\AccountInterface:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Session\AccountInterface::getAccountName() or
         \Drupal\user\UserInterface::getDisplayName() instead.
 ------ ----------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------
  Line   src/Form/DepartureQueueForm.php
 ------ ----------------------------------------------------------------------------------------
  55     Access to deprecated property $entityManager of class Drupal\Core\Entity\EntityForm:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
  76     Call to deprecated method getUsername() of class Drupal\Core\Session\AccountInterface:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Session\AccountInterface::getAccountName() or
         \Drupal\user\UserInterface::getDisplayName() instead.
 ------ ----------------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------
  Line   src/LegacyMessagingTrait.php (in context of class Drupal\entity_pilot\Customs)
 ------ --------------------------------------------------------------------------------
  15     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ --------------------------------------------------------------------------------

 ------ -----------------------------------------------------------------------------------------------
  Line   src/LegacyMessagingTrait.php (in context of class Drupal\entity_pilot\Form\AccountDeleteForm)
 ------ -----------------------------------------------------------------------------------------------
  15     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ -----------------------------------------------------------------------------------------------

 ------ -----------------------------------------------------------------------------------------
  Line   src/LegacyMessagingTrait.php (in context of class Drupal\entity_pilot\Form\AccountForm)
 ------ -----------------------------------------------------------------------------------------
  15     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ -----------------------------------------------------------------------------------------

 ------ -----------------------------------------------------------------------------------------
  Line   src/LegacyMessagingTrait.php (in context of class Drupal\entity_pilot\Form\ArrivalForm)
 ------ -----------------------------------------------------------------------------------------
  15     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ -----------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------------
  Line   src/LegacyMessagingTrait.php (in context of class Drupal\entity_pilot\Form\ArrivalQueueForm)
 ------ ----------------------------------------------------------------------------------------------
  15     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ ----------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------
  Line   src/LegacyMessagingTrait.php (in context of class Drupal\entity_pilot\Form\DepartureForm)
 ------ -------------------------------------------------------------------------------------------
  15     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ -------------------------------------------------------------------------------------------

 ------ ------------------------------------------------------------------------------------------------
  Line   src/LegacyMessagingTrait.php (in context of class Drupal\entity_pilot\Form\DepartureQueueForm)
 ------ ------------------------------------------------------------------------------------------------
  15     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ ------------------------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------------------------
  Line   src/LegacyMessagingTrait.php (in context of class Drupal\entity_pilot\Form\FlightDeleteFormBase)
 ------ --------------------------------------------------------------------------------------------------
  15     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ --------------------------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------------------------------------------------
  Line   src/LegacyMessagingTrait.php (in context of class Drupal\entity_pilot\Plugin\Field\FieldWidget\ApprovedPassengersSelect)
 ------ --------------------------------------------------------------------------------------------------------------------------
  15     Call to deprecated function drupal_set_message():
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ --------------------------------------------------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------------
  Line   src/ListBuilders/AccountListBuilder.php
 ------ --------------------------------------------------------------------------------------
  42     Call to deprecated method link() of class Drupal\Core\Entity\EntityInterface:
         in Drupal 8.0.0, intended to be removed in Drupal 9.0.0
         Use \Drupal\Core\EntityInterface::toLink()->toString() instead.
  43     Call to deprecated method checkPlain() of class Drupal\Component\Utility\SafeMarkup:
         Will be removed before Drupal 9.0.0. Rely on Twig's
         auto-escaping feature, or use the @link theme_render #plain_text @endlink
         key when constructing a render array that contains plain text in order to
         use the renderer's auto-escaping feature. If neither of these are
         possible, \Drupal\Component\Utility\Html::escape() can be used in places
         where explicit escaping is needed.
  43     Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
         Will be removed before Drupal 9.0.0. Use the appropriate
 ------ --------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------
  Line   src/ListBuilders/ArrivalListBuilder.php
 ------ -------------------------------------------------------------------------------------
  38     Call to deprecated method getLabel() of class Drupal\Core\Entity\EntityListBuilder:
         in Drupal 8.0.x, will be removed before Drupal 9.0.0
         Use $entity->label() instead. This method used to escape the entity
         label. The render system's autoescape is now relied upon.
 ------ -------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------
  Line   src/ListBuilders/DepartureListBuilder.php
 ------ -------------------------------------------------------------------------------------
  38     Call to deprecated method getLabel() of class Drupal\Core\Entity\EntityListBuilder:
         in Drupal 8.0.x, will be removed before Drupal 9.0.0
         Use $entity->label() instead. This method used to escape the entity
         label. The render system's autoescape is now relied upon.
 ------ -------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------
  Line   src/Normalizer/FileEntityNormalizer.php
 ------ ----------------------------------------------------------------------------------
  44     Call to deprecated function drupal_dirname():
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal\Core\File\FileSystem::dirname().
  45     Call to deprecated function file_prepare_directory():
         in Drupal 8.7.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\File\FileSystemInterface::prepareDirectory().
  46     Call to deprecated function file_unmanaged_save_data():
         in Drupal 8.7.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\File\FileSystemInterface::saveData().
  50     Call to deprecated method format() of class Drupal\Component\Utility\SafeMarkup:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Component\Render\FormattableMarkup.
  50     Call to method format() of deprecated class Drupal\Component\Utility\SafeMarkup:
         Will be removed before Drupal 9.0.0. Use the appropriate
 ------ ----------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------
  Line   tests/src/Functional/AccountTest.php
 ------ --------------------------------------------------------------------------
  49     Call to deprecated function entity_load():
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the
         entity type storage's load() method.
  64     Call to deprecated function entity_load():
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the
         entity type storage's load() method.
  119    Call to deprecated method entityManager() of class Drupal:
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal::entityTypeManager() instead in most cases. If the needed
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
         deprecated \Drupal\Core\Entity\EntityManager to find the
         correct interface or service.
 ------ --------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------
  Line   tests/src/Functional/ArrivalsApproveAndQueueTest.php
 ------ --------------------------------------------------------------------------
  50     Call to deprecated method entityManager() of class Drupal:
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal::entityTypeManager() instead in most cases. If the needed
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
         deprecated \Drupal\Core\Entity\EntityManager to find the
         correct interface or service.
  60     Call to deprecated method entityManager() of class Drupal:
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal::entityTypeManager() instead in most cases. If the needed
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
         deprecated \Drupal\Core\Entity\EntityManager to find the
         correct interface or service.
 ------ --------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------
  Line   tests/src/Functional/DepartureTest.php
 ------ ----------------------------------------------------------------------------------------
  88     Call to deprecated function entity_create():
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use
         The method overriding Entity::create() for the entity type, e.g.
         \Drupal\node\Entity\Node::create() if the entity type is known. If the
         entity type is variable, use the entity storage's create() method to
         construct a new entity:
  92     Call to deprecated function entity_create():
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use
         The method overriding Entity::create() for the entity type, e.g.
         \Drupal\node\Entity\Node::create() if the entity type is known. If the
         entity type is variable, use the entity storage's create() method to
         construct a new entity:
  121    Call to deprecated function entity_load_multiple_by_properties():
         as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use
         the entity storage's loadByProperties() method to load an entity by their
         property values:
  150    Call to deprecated method entityManager() of class Drupal:
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal::entityTypeManager() instead in most cases. If the needed
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
         deprecated \Drupal\Core\Entity\EntityManager to find the
         correct interface or service.
  174    Call to deprecated method entityManager() of class Drupal:
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal::entityTypeManager() instead in most cases. If the needed
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
         deprecated \Drupal\Core\Entity\EntityManager to find the
         correct interface or service.
  179    Call to deprecated method getUsername() of class Drupal\Core\Session\AccountInterface:
         in Drupal 8.0.0, will be removed before Drupal 9.0.0.
         Use \Drupal\Core\Session\AccountInterface::getAccountName() or
         \Drupal\user\UserInterface::getDisplayName() instead.
  198    Call to deprecated method entityManager() of class Drupal:
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal::entityTypeManager() instead in most cases. If the needed
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
         deprecated \Drupal\Core\Entity\EntityManager to find the
         correct interface or service.
  209    Call to deprecated method entityManager() of class Drupal:
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal::entityTypeManager() instead in most cases. If the needed
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
         deprecated \Drupal\Core\Entity\EntityManager to find the
         correct interface or service.
  264    Call to deprecated function entity_load_multiple_by_properties():
         as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use
         the entity storage's loadByProperties() method to load an entity by their
         property values:
 ------ ----------------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------
  Line   tests/src/Kernel/UserExistsByNameTest.php
 ------ --------------------------------------------------------------------------
  61     Call to deprecated method entityManager() of class Drupal:
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
         Use \Drupal::entityTypeManager() instead in most cases. If the needed
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
         deprecated \Drupal\Core\Entity\EntityManager to find the
         correct interface or service.
 ------ --------------------------------------------------------------------------

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

larowlan created an issue. See original summary.

sahana _n’s picture

Status: Active » Needs review
StatusFileSize
new49.21 KB

Removed deprecated methods, please review.

kristen pol’s picture

Issue tags: +Drupal 9 compatibility
ciss’s picture

Title: Drupal 9 compatability » Drupal 9 compatibility
cjc414’s picture

Hi @larowlan, just wondering when the Drupal 9 version will be released roughly? As we are planning to upgrade our sites to Drupal 9

larowlan’s picture

There's no immediate planned date at this point.

larowlan’s picture

Assigned: Unassigned » larowlan

Working on this

  • larowlan committed 50e8567 on 8.x-1.x
    Issue #3092380 by Sahana _N, larowlan: Drupal 9 compatibility
    

  • larowlan committed a19d78c on 8.x-1.x
    Revert "Issue #3092380 by Sahana _N, larowlan: Drupal 9 compatibility"...
larowlan’s picture

Version: 8.x-1.x-dev » 2.x-dev
Issue tags: +Needs change record
StatusFileSize
new171.36 KB

It really shows how much of this was written before Drupal 8 came out.

It's a big patch.

There's some API breaks in plugins and other public-facing methods that previously type-hinted on EntityManagerInterface, which no longer exists, so for that reason I've started a 2.x branch.

And this will need a change record for those changes.

larowlan’s picture

StatusFileSize
new454 bytes
new171.36 KB
larowlan’s picture

Issue tags: -Needs change record

Added a change record

  • larowlan committed 4fa8d78 on 2.x
    Issue #3092380 by larowlan, Sahana _N: Drupal 9 compatibility
    
larowlan’s picture

Status: Needs review » Fixed

Ok, let's get this into an alpha and see how it goes.

Published the change record.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.