Commit 4e43daa9 authored by bojanz's avatar bojanz

Issue #3029439 by bojanz: Remove trigger_error() from deprecated plugins

parent e206d659
......@@ -7,12 +7,11 @@ use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Render\Element\RenderElement;
use Drupal\profile\Entity\ProfileInterface;
@trigger_error('The ' . __NAMESPACE__ . '\ProfileSelect is deprecated. Instead, use the customer_profile inline form. See https://www.drupal.org/node/3015309.', E_USER_DEPRECATED);
/**
* Provides a form element for selecting a customer profile.
*
* @deprecated Use the customer_profile inline form instead.
* @see https://www.drupal.org/node/3015309
*
* Usage example:
* @code
......
......@@ -7,12 +7,11 @@ use Drupal\commerce_payment\Entity\EntityWithPaymentGatewayInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Render\Element\RenderElement;
@trigger_error('The ' . __NAMESPACE__ . '\PaymentGatewayForm is deprecated. Instead, use the payment_gateway_form inline form. See https://www.drupal.org/node/3015309.', E_USER_DEPRECATED);
/**
* Provides a form element for embedding the payment gateway forms.
*
* @deprecated Use the payment_gateway_form inline form instead.
* @see https://www.drupal.org/node/3015309
*
* Usage example:
* @code
......
......@@ -5,12 +5,11 @@ namespace Drupal\commerce_promotion\Element;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Render\Element\FormElement;
@trigger_error('The ' . __NAMESPACE__ . '\CouponRedemptionForm is deprecated. Instead, use the coupon_redemption inline form. See https://www.drupal.org/node/3015309.', E_USER_DEPRECATED);
/**
* Provides a form element for redeeming a coupon.
*
* @deprecated Use the coupon_redemption inline form instead.
* @see https://www.drupal.org/node/3015309
*
* Usage example:
* @code
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment