You are here

QuantityType.php in farmOS 2.x

File

modules/core/entity/src/Annotation/QuantityType.php
View source
<?php

namespace Drupal\farm_entity\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines the quantity type plugin annotation object.
 *
 * Plugin namespace: Plugin\Quantity\QuantityType.
 *
 * @see plugin_api
 *
 * @Annotation
 */
class QuantityType extends Plugin {

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

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

}

Classes

Namesort descending Description
QuantityType Defines the quantity type plugin annotation object.