You are here

VotingApiWidget.php in Votingapi Widgets 8

File

src/Annotation/VotingApiWidget.php
View source
<?php

namespace Drupal\votingapi_widgets\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a Voting api widget item annotation object.
 *
 * @see \Drupal\votingapi_widgets\Plugin\VotingApiWidgetManager
 * @see plugin_api
 *
 * @Annotation
 */
class VotingApiWidget extends Plugin {

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

  /**
   * The minimal vote.
   *
   * @var int
   */
  public $values;

  /**
   * The label of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

}

Classes

Namesort descending Description
VotingApiWidget Defines a Voting api widget item annotation object.