You are here

EntityLegal.php in Entity Legal 3.0.x

File

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

namespace Drupal\entity_legal\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Class EntityLegal.
 *
 * Plugin Namespace: Plugin\EntityLegal.
 *
 * @package Drupal\entity_legal\Annotation
 *
 * @Annotation
 */
class EntityLegal extends Plugin {

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

  /**
   * The human-readable name of the Entity Legal method plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * The method type; "new_users" or "existing_users".
   *
   * @var string
   */
  public $type;

}

Classes

Namesort descending Description
EntityLegal Class EntityLegal.