commercetools-8.x-1.2-alpha1/src/Attribute/SubscriptionDestinationType.php

src/Attribute/SubscriptionDestinationType.php
<?php

namespace Drupal\commercetools\Attribute;

use Drupal\Component\Plugin\Attribute\Plugin;
use Drupal\Core\StringTranslation\TranslatableMarkup;

/**
 * Defines a Subscription Destination type annotation object.
 */
#[\Attribute(\Attribute::TARGET_CLASS)]
class SubscriptionDestinationType extends Plugin {

  /**
   * {@inheritdoc}
   */
  public function __construct(
    public readonly string $id,
    public readonly TranslatableMarkup $label,
    public readonly string $config_name,
  ) {}

}

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

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