By mnico on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x-2.x
Introduced in version:
8.x-2.0-beta2
Description:
The webpay_get_transaction_by_token function have been deprecated. Use the webpay transaction storage instead.
Before:
$transaction = webpay_get_transaction_by_token($token);
After:
$transaction = \Drupal::service('entity_type.manager')->getStorage('webpay_transaction')->byToken($token);
Impacts:
Module developers