class EmailFrequency in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/activity_send/modules/activity_send_email/src/Annotation/EmailFrequency.php \Drupal\activity_send_email\Annotation\EmailFrequency
- 8.2 modules/custom/activity_send/modules/activity_send_email/src/Annotation/EmailFrequency.php \Drupal\activity_send_email\Annotation\EmailFrequency
- 8.3 modules/custom/activity_send/modules/activity_send_email/src/Annotation/EmailFrequency.php \Drupal\activity_send_email\Annotation\EmailFrequency
- 8.4 modules/custom/activity_send/modules/activity_send_email/src/Annotation/EmailFrequency.php \Drupal\activity_send_email\Annotation\EmailFrequency
- 8.5 modules/custom/activity_send/modules/activity_send_email/src/Annotation/EmailFrequency.php \Drupal\activity_send_email\Annotation\EmailFrequency
- 8.6 modules/custom/activity_send/modules/activity_send_email/src/Annotation/EmailFrequency.php \Drupal\activity_send_email\Annotation\EmailFrequency
- 8.7 modules/custom/activity_send/modules/activity_send_email/src/Annotation/EmailFrequency.php \Drupal\activity_send_email\Annotation\EmailFrequency
- 8.8 modules/custom/activity_send/modules/activity_send_email/src/Annotation/EmailFrequency.php \Drupal\activity_send_email\Annotation\EmailFrequency
- 10.3.x modules/custom/activity_send/modules/activity_send_email/src/Annotation/EmailFrequency.php \Drupal\activity_send_email\Annotation\EmailFrequency
- 10.0.x modules/custom/activity_send/modules/activity_send_email/src/Annotation/EmailFrequency.php \Drupal\activity_send_email\Annotation\EmailFrequency
- 10.1.x modules/custom/activity_send/modules/activity_send_email/src/Annotation/EmailFrequency.php \Drupal\activity_send_email\Annotation\EmailFrequency
- 10.2.x modules/custom/activity_send/modules/activity_send_email/src/Annotation/EmailFrequency.php \Drupal\activity_send_email\Annotation\EmailFrequency
Defines an EmailFrequency Annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\activity_send_email\Annotation\EmailFrequency
Expanded class hierarchy of EmailFrequency
4 classes are annotated with EmailFrequency
- Daily in modules/
custom/ activity_send/ modules/ activity_send_email/ src/ Plugin/ EmailFrequency/ Daily.php - Define a concrete class for daily emails.
- Immediately in modules/
custom/ activity_send/ modules/ activity_send_email/ src/ Plugin/ EmailFrequency/ Immediately.php - Define a concrete class for immediate emails.
- None in modules/
custom/ activity_send/ modules/ activity_send_email/ src/ Plugin/ EmailFrequency/ None.php - Define a concrete class for no emails.
- Weekly in modules/
custom/ activity_send/ modules/ activity_send_email/ src/ Plugin/ EmailFrequency/ Weekly.php - Define a concrete class for weekly emails.
File
- modules/
custom/ activity_send/ modules/ activity_send_email/ src/ Annotation/ EmailFrequency.php, line 12
Namespace
Drupal\activity_send_email\AnnotationView source
class EmailFrequency extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The name of the flavor.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $name;
/**
* The weight of the frequency option.
*
* @var int
*/
public $weight;
/**
* The send interval of the email frequency in seconds.
*
* @var int
*/
public $interval;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EmailFrequency:: |
public | property | The plugin ID. | |
EmailFrequency:: |
public | property | The send interval of the email frequency in seconds. | |
EmailFrequency:: |
public | property | The name of the flavor. | |
EmailFrequency:: |
public | property | The weight of the frequency option. | |
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:: |
|
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 |