You are here

class ActivityContext in Open Social 8

Same name and namespace in other branches
  1. 8.9 modules/custom/activity_creator/src/Annotation/ActivityContext.php \Drupal\activity_creator\Annotation\ActivityContext
  2. 8.2 modules/custom/activity_creator/src/Annotation/ActivityContext.php \Drupal\activity_creator\Annotation\ActivityContext
  3. 8.3 modules/custom/activity_creator/src/Annotation/ActivityContext.php \Drupal\activity_creator\Annotation\ActivityContext
  4. 8.4 modules/custom/activity_creator/src/Annotation/ActivityContext.php \Drupal\activity_creator\Annotation\ActivityContext
  5. 8.5 modules/custom/activity_creator/src/Annotation/ActivityContext.php \Drupal\activity_creator\Annotation\ActivityContext
  6. 8.6 modules/custom/activity_creator/src/Annotation/ActivityContext.php \Drupal\activity_creator\Annotation\ActivityContext
  7. 8.7 modules/custom/activity_creator/src/Annotation/ActivityContext.php \Drupal\activity_creator\Annotation\ActivityContext
  8. 8.8 modules/custom/activity_creator/src/Annotation/ActivityContext.php \Drupal\activity_creator\Annotation\ActivityContext
  9. 10.3.x modules/custom/activity_creator/src/Annotation/ActivityContext.php \Drupal\activity_creator\Annotation\ActivityContext
  10. 10.0.x modules/custom/activity_creator/src/Annotation/ActivityContext.php \Drupal\activity_creator\Annotation\ActivityContext
  11. 10.1.x modules/custom/activity_creator/src/Annotation/ActivityContext.php \Drupal\activity_creator\Annotation\ActivityContext
  12. 10.2.x modules/custom/activity_creator/src/Annotation/ActivityContext.php \Drupal\activity_creator\Annotation\ActivityContext

Defines a Activity context plugin item annotation object.

Hierarchy

Expanded class hierarchy of ActivityContext

See also

\Drupal\activity_creator\Plugin\ActivityContextManager

Plugin API

9 classes are annotated with ActivityContext
CommunityActivityContext in modules/custom/activity_basics/src/Plugin/ActivityContext/CommunityActivityContext.php
Provides a 'CommunityActivityContext' acitivy context.
ContentInMyGroupActivityContext in modules/custom/activity_basics/src/Plugin/ActivityContext/ContentInMyGroupActivityContext.php
Provides a 'ContentInMyGroupActivityContext' acitivy context.
FollowContentActivityContext in modules/social_features/social_follow_content/src/Plugin/ActivityContext/FollowContentActivityContext.php
Provides a 'FollowContentActivityContext' activity context plugin.
GroupActivityContext in modules/custom/activity_basics/src/Plugin/ActivityContext/GroupActivityContext.php
Provides a 'GroupActivityContext' activity context.
MentionActivityContext in modules/social_features/social_mentions/src/Plugin/ActivityContext/MentionActivityContext.php
Provides a 'MentionActivityContext' activity context.

... See full list

File

modules/custom/activity_creator/src/Annotation/ActivityContext.php, line 15

Namespace

Drupal\activity_creator\Annotation
View source
class ActivityContext extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The label of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

}

Members

Namesort descending Modifiers Type Description Overrides
ActivityContext::$id public property The plugin ID.
ActivityContext::$label public property The label of the plugin.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2