------ --------------------------------------------------------------------------------------
Line basic_cart.module
------ --------------------------------------------------------------------------------------
131 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.
131 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
136 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.
136 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
------ --------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------
Line src/CartStorage.php
------ -------------------------------------------------------------------------
29 Call to deprecated function db_insert():
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
a database connection injected into your service from the container and
call insert() on it. For example,
34 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.
57 Call to deprecated function db_update():
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
a database connection injected into your service from the container and
call update() on it. For example,
65 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.
84 Call to deprecated function db_delete():
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
a database connection injected into your service from the container and
call delete() on it. For example,
112 Call to deprecated function db_select():
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
a database connection injected into your service from the container and
call select() on it. For example,
------ -------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line src/Controller/CartController.php
------ -------------------------------------------------------------------------------------------
85 Call to deprecated function drupal_get_messages():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::all() or
\Drupal\Core\Messenger\MessengerInterface::messagesByType() instead.
107 Call to deprecated function node_type_load():
iin Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use
\Drupal\node\Entity\NodeType::load().
108 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.
133 Call to deprecated function node_type_load():
iin Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use
\Drupal\node\Entity\NodeType::load().
134 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/CartSettingsForm.php
------ ----------------------------------------------------
35 Call to deprecated function node_type_get_types():
in Drupal 8.x, will be removed before Drupal 9.0.
Use \Drupal\node\Entity\NodeType::loadMultiple().
------ ----------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Plugin/Block/CountBlock.php
------ --------------------------------------------------------------------------------------
32 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.
32 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
35 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.
35 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
36 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.
36 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
37 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.
37 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
40 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.
40 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
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
46 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.
46 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
49 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.
49 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Plugin/Field/FieldFormatter/AddToCartFormatter.php
------ --------------------------------------------------------------------------------------
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
44 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.
44 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
45 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.
45 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
46 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.
46 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Plugin/Field/FieldFormatter/AddToCartWithQuantityFormatter.php
------ --------------------------------------------------------------------------------------
47 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.
47 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
48 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.
48 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
49 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.
49 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
50 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.
50 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
51 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.
51 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
52 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.
52 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
53 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.
53 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
54 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.
54 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup:
Will be removed before Drupal 9.0.0. Use the appropriate
------ --------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Settings.php
------ ----------------------------------------------------------------------
40 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/Utility.php
------ --------------------------------------------------------------------------
228 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.
275 Call to deprecated function entity_get_form_display():
as of Drupal 8.0.x, will be removed before Drupal 9.0.0.
If the entity form display is available in configuration use:
282 Call to deprecated function entity_get_display():
as of Drupal 8.0.x, will be removed before Drupal 9.0.0.
If the display is available in configuration use:
303 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.
------ --------------------------------------------------------------------------
[ERROR] Found 61 errors
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | basic_cart-3077135-2.patch | 16.12 KB | rudranil29 |
Comments
Comment #2
rudranil29 commenteddeprecated method removed
Comment #3
rudranil29 commentedComment #4
ivnishDrupal 9 already was added