commerce_funds-8.x-1.7/src/Entity/TransactionType.php
src/Entity/TransactionType.php
<?php
namespace Drupal\commerce_funds\Entity;
use Drupal\Core\Config\Entity\ConfigEntityBundleBase;
/**
* Transaction type.
*
* @ingroup commerce_funds
*
* @ConfigEntityType(
* id = "commerce_funds_transaction_type",
* label = @Translation("Transaction type"),
* label_collection = @Translation("Transaction types"),
* label_singular = @Translation("transaction type"),
* label_plural = @Translation("transaction types"),
* label_count = @PluralTranslation(
* singular = "@count transaction type",
* plural = "@count transaction types",
* ),
* handlers = {
* "access" = "Drupal\commerce_funds\TransactionBundleAccessControlHandler",
* },
* bundle_of = "commerce_funds_transaction",
* entity_keys = {
* "id" = "id",
* "label" = "label",
* "uuid" = "uuid",
* },
* config_prefix = "commerce_funds_transaction_type",
* config_export = {
* "id",
* "label",
* "description",
* },
* )
*/
class TransactionType extends ConfigEntityBundleBase {
}
