class ActivityEntityCondition in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/activity_creator/src/Annotation/ActivityEntityCondition.php \Drupal\activity_creator\Annotation\ActivityEntityCondition
- 8.2 modules/custom/activity_creator/src/Annotation/ActivityEntityCondition.php \Drupal\activity_creator\Annotation\ActivityEntityCondition
- 8.3 modules/custom/activity_creator/src/Annotation/ActivityEntityCondition.php \Drupal\activity_creator\Annotation\ActivityEntityCondition
- 8.4 modules/custom/activity_creator/src/Annotation/ActivityEntityCondition.php \Drupal\activity_creator\Annotation\ActivityEntityCondition
- 8.5 modules/custom/activity_creator/src/Annotation/ActivityEntityCondition.php \Drupal\activity_creator\Annotation\ActivityEntityCondition
- 8.6 modules/custom/activity_creator/src/Annotation/ActivityEntityCondition.php \Drupal\activity_creator\Annotation\ActivityEntityCondition
- 8.7 modules/custom/activity_creator/src/Annotation/ActivityEntityCondition.php \Drupal\activity_creator\Annotation\ActivityEntityCondition
- 8.8 modules/custom/activity_creator/src/Annotation/ActivityEntityCondition.php \Drupal\activity_creator\Annotation\ActivityEntityCondition
- 10.3.x modules/custom/activity_creator/src/Annotation/ActivityEntityCondition.php \Drupal\activity_creator\Annotation\ActivityEntityCondition
- 10.0.x modules/custom/activity_creator/src/Annotation/ActivityEntityCondition.php \Drupal\activity_creator\Annotation\ActivityEntityCondition
- 10.1.x modules/custom/activity_creator/src/Annotation/ActivityEntityCondition.php \Drupal\activity_creator\Annotation\ActivityEntityCondition
- 10.2.x modules/custom/activity_creator/src/Annotation/ActivityEntityCondition.php \Drupal\activity_creator\Annotation\ActivityEntityCondition
Defines a Activity entity condition item annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\activity_creator\Annotation\ActivityEntityCondition
Expanded class hierarchy of ActivityEntityCondition
See also
\Drupal\activity_creator\Plugin\ActivityEntityConditionManager
5 classes are annotated with ActivityEntityCondition
- CommentAllActivityEntityCondition in modules/
custom/ activity_basics/ src/ Plugin/ ActivityEntityCondition/ CommentAllActivityEntityCondition.php - Provides a 'CommentReply' activity condition.
- CommentNotReplyActivityEntityCondition in modules/
custom/ activity_basics/ src/ Plugin/ ActivityEntityCondition/ CommentNotReplyActivityEntityCondition.php - Provides a 'CommentNotReply' activity condition.
- CommentReplyActivityEntityCondition in modules/
custom/ activity_basics/ src/ Plugin/ ActivityEntityCondition/ CommentReplyActivityEntityCondition.php - Provides a 'CommentReply' activity condition.
- MentionCommentActivityEntityCondition in modules/
social_features/ social_mentions/ src/ Plugin/ ActivityEntityCondition/ MentionCommentActivityEntityCondition.php - Provides a 'MentionsComment' activity condition.
- MentionPostActivityEntityCondition in modules/
social_features/ social_mentions/ src/ Plugin/ ActivityEntityCondition/ MentionPostActivityEntityCondition.php - Provides a 'MentionPost' activity condition.
File
- modules/
custom/ activity_creator/ src/ Annotation/ ActivityEntityCondition.php, line 15
Namespace
Drupal\activity_creator\AnnotationView source
class ActivityEntityCondition extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The label of the plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* The array with entities for which this plugin is allowed.
*
* @var array
*/
public $entities;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ActivityEntityCondition:: |
public | property | The array with entities for which this plugin is allowed. | |
ActivityEntityCondition:: |
public | property | The plugin ID. | |
ActivityEntityCondition:: |
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:: |
|
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 |