commerce-8.x-2.8/modules/payment/src/Annotation/CommercePaymentType.php

modules/payment/src/Annotation/CommercePaymentType.php
<?php

namespace Drupal\commerce_payment\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines the payment type plugin annotation object.
 *
 * Plugin namespace: Plugin\Commerce\PaymentType.
 *
 * @see plugin_api
 *
 * @Annotation
 */
class CommercePaymentType extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The payment type label.
   *
   * @ingroup plugin_translatable
   *
   * @var \Drupal\Core\Annotation\Translation
   */
  public $label;

  /**
   * The payment workflow.
   *
   * @var string
   */
  public $workflow = 'payment_default';

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc