You are here

OrderType.php in Commerce Core 8.2

File

modules/order/src/Plugin/Commerce/Condition/OrderType.php
View source
<?php

namespace Drupal\commerce_order\Plugin\Commerce\Condition;

use Drupal\commerce\Plugin\Commerce\Condition\EntityBundleBase;

/**
 * Provides the type condition for orders.
 *
 * @CommerceCondition(
 *   id = "order_type",
 *   label = @Translation("Order type", context = "Commerce"),
 *   category = @Translation("Order", context = "Commerce"),
 *   entity_type = "commerce_order",
 * )
 */
class OrderType extends EntityBundleBase {

}

Classes

Namesort descending Description
OrderType Provides the type condition for orders.