You are here

FlagType.php in Flag 8.4

File

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

namespace Drupal\flag\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a FlagType annotation object.
 *
 * @Annotation
 */
class FlagType extends Plugin {

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

  /**
   * The entity type the flag type supports.
   *
   * @var string
   */
  public $entity_type;

}

Classes

Namesort descending Description
FlagType Defines a FlagType annotation object.