AcceptanceMethod.php in Entity Legal 8
Namespace
Drupal\entity_legal\AnnotationFile
src/Annotation/AcceptanceMethod.phpView source
<?php
/**
* @file
* Contains \Drupal\entity_legal\Annotation\AcceptanceMethod.
*/
namespace Drupal\entity_legal\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a AcceptanceMethod annotation object.
*
* @Annotation
*
* @see \Drupal\entity_legal\AcceptanceMethod\AcceptanceMethodInterface
*/
class AcceptanceMethod extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable name of the method.
*
* @ingroup plugin_translatable
*
* @var \Drupal\Core\Annotation\Translation
*/
public $label;
/**
* Available for new signups.
*
* @var bool
*/
public $new_users;
/**
* Available for existing users.
*
* @var bool
*/
public $existing_users;
}
Classes
Name | Description |
---|---|
AcceptanceMethod | Defines a AcceptanceMethod annotation object. |