class EntityLegal in Entity Legal 4.0.x
Same name and namespace in other branches
- 8.2 src/Annotation/EntityLegal.php \Drupal\entity_legal\Annotation\EntityLegal
- 3.0.x src/Annotation/EntityLegal.php \Drupal\entity_legal\Annotation\EntityLegal
Class EntityLegal.
Plugin Namespace: Plugin\EntityLegal.
@package Drupal\entity_legal\Annotation
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\entity_legal\Annotation\EntityLegal
Expanded class hierarchy of EntityLegal
5 classes are annotated with EntityLegal
- Message in src/
Plugin/ EntityLegal/ Message.php - Method class for alerting existing users via Drupal set message.
- Popup in src/
Plugin/ EntityLegal/ Popup.php - Method class for alerting existing users via a jQuery UI popup window.
- ProfileForm in src/
Plugin/ EntityLegal/ ProfileForm.php - Method class for displaying a checkbox on the user register form.
- ProfileFormEmbedded in src/
Plugin/ EntityLegal/ ProfileFormEmbedded.php - Method class for displaying a checkbox on the user register form.
- Redirect in src/
Plugin/ EntityLegal/ Redirect.php - Method class for redirecting existing users to accept a legal document.
File
- src/
Annotation/ EntityLegal.php, line 16
Namespace
Drupal\entity_legal\AnnotationView source
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;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityLegal:: |
public | property | The plugin ID. | |
EntityLegal:: |
public | property | The human-readable name of the Entity Legal method plugin. | |
EntityLegal:: |
public | property | The method type; "new_users" or "existing_users". | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
1 |
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |