The following issues were returned by drupal-check.
$ drupal-check .
37/37 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ --------------------------------------------------------------------------
Line adva.module
------ --------------------------------------------------------------------------
45 Call to deprecated method entityManager() of class Drupal:
in drupal:8.0.0 and is removed from 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.
92 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ --------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/AccessStorage.php
------ ----------------------------------------------------------------------
297 Call to deprecated function drupal_set_time_limit():
in drupal:8.7.0 and is removed from drupal:9.0.0. Use
\Drupal\Component\Utility\Environment::setTimeLimit() instead.
319 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/SettingsForm.php
------ ----------------------------------------------------------------------
240 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line src/Plugin/adva/ReferenceAccessProvider.php
------ -------------------------------------------------------------------------------------------
237 Call to deprecated method isSubclassOf() of class Drupal\Core\Entity\EntityTypeInterface:
in drupal:8.3.0 and is removed from drupal:9.0.0.
Use Drupal\Core\Entity\EntityTypeInterface::entityClassImplements()
instead.
------ -------------------------------------------------------------------------------------------
[ERROR] Found 6 errors
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3110143-2.patch | 5.27 KB | richgerdes |
Comments
Comment #2
richgerdesAttached patch removes the deprecated code.
Comment #4
richgerdesPatch has been committed.