class ActivityDestination in Open Social 10.2.x
Same name and namespace in other branches
- 8.9 modules/custom/activity_creator/src/Annotation/ActivityDestination.php \Drupal\activity_creator\Annotation\ActivityDestination
- 8 modules/custom/activity_creator/src/Annotation/ActivityDestination.php \Drupal\activity_creator\Annotation\ActivityDestination
- 8.2 modules/custom/activity_creator/src/Annotation/ActivityDestination.php \Drupal\activity_creator\Annotation\ActivityDestination
- 8.3 modules/custom/activity_creator/src/Annotation/ActivityDestination.php \Drupal\activity_creator\Annotation\ActivityDestination
- 8.4 modules/custom/activity_creator/src/Annotation/ActivityDestination.php \Drupal\activity_creator\Annotation\ActivityDestination
- 8.5 modules/custom/activity_creator/src/Annotation/ActivityDestination.php \Drupal\activity_creator\Annotation\ActivityDestination
- 8.6 modules/custom/activity_creator/src/Annotation/ActivityDestination.php \Drupal\activity_creator\Annotation\ActivityDestination
- 8.7 modules/custom/activity_creator/src/Annotation/ActivityDestination.php \Drupal\activity_creator\Annotation\ActivityDestination
- 8.8 modules/custom/activity_creator/src/Annotation/ActivityDestination.php \Drupal\activity_creator\Annotation\ActivityDestination
- 10.3.x modules/custom/activity_creator/src/Annotation/ActivityDestination.php \Drupal\activity_creator\Annotation\ActivityDestination
- 10.0.x modules/custom/activity_creator/src/Annotation/ActivityDestination.php \Drupal\activity_creator\Annotation\ActivityDestination
- 10.1.x modules/custom/activity_creator/src/Annotation/ActivityDestination.php \Drupal\activity_creator\Annotation\ActivityDestination
Defines a Activity destination item annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\activity_creator\Annotation\ActivityDestination
Expanded class hierarchy of ActivityDestination
See also
\Drupal\activity_creator\Plugin\ActivityDestinationManager
6 classes are annotated with ActivityDestination
- EmailActivityDestination in modules/
custom/ activity_send/ modules/ activity_send_email/ src/ Plugin/ ActivityDestination/ EmailActivityDestination.php - Provides a 'EmailActivityDestination' activity destination.
- NotificationsActivityDestination in modules/
custom/ activity_basics/ src/ Plugin/ ActivityDestination/ NotificationsActivityDestination.php - Provides a 'NotificationsActivityDestination' acitivy destination.
- StreamExploreActivityDestination in modules/
custom/ activity_basics/ src/ Plugin/ ActivityDestination/ StreamExploreActivityDestination.php - Provides a 'StreamExploreActivityDestination' acitivy destination.
- StreamGroupActivityDestination in modules/
custom/ activity_basics/ src/ Plugin/ ActivityDestination/ StreamGroupActivityDestination.php - Provides a 'StreamGroupActivityDestination' acitivy destination.
- StreamHomeActivityDestination in modules/
custom/ activity_basics/ src/ Plugin/ ActivityDestination/ StreamHomeActivityDestination.php - Provides a 'StreamHomeActivityDestination' acitivy destination.
File
- modules/
custom/ activity_creator/ src/ Annotation/ ActivityDestination.php, line 15
Namespace
Drupal\activity_creator\AnnotationView source
class ActivityDestination extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The label of the plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* Whether this destination supports aggregation or not.
*
* @var bool
*/
public $isAggregatable = FALSE;
/**
* Whether this destination is common or not.
*
* @var bool
*/
public $isCommon = FALSE;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ActivityDestination:: |
public | property | The plugin ID. | |
ActivityDestination:: |
public | property | Whether this destination supports aggregation or not. | |
ActivityDestination:: |
public | property | Whether this destination is common or not. | |
ActivityDestination:: |
public | property | The label of the plugin. | |
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 |