interface ActivityContextInterface in Open Social 8.5
Same name and namespace in other branches
- 8.9 modules/custom/activity_creator/src/Plugin/ActivityContextInterface.php \Drupal\activity_creator\Plugin\ActivityContextInterface
- 8 modules/custom/activity_creator/src/Plugin/ActivityContextInterface.php \Drupal\activity_creator\Plugin\ActivityContextInterface
- 8.2 modules/custom/activity_creator/src/Plugin/ActivityContextInterface.php \Drupal\activity_creator\Plugin\ActivityContextInterface
- 8.3 modules/custom/activity_creator/src/Plugin/ActivityContextInterface.php \Drupal\activity_creator\Plugin\ActivityContextInterface
- 8.4 modules/custom/activity_creator/src/Plugin/ActivityContextInterface.php \Drupal\activity_creator\Plugin\ActivityContextInterface
- 8.6 modules/custom/activity_creator/src/Plugin/ActivityContextInterface.php \Drupal\activity_creator\Plugin\ActivityContextInterface
- 8.7 modules/custom/activity_creator/src/Plugin/ActivityContextInterface.php \Drupal\activity_creator\Plugin\ActivityContextInterface
- 8.8 modules/custom/activity_creator/src/Plugin/ActivityContextInterface.php \Drupal\activity_creator\Plugin\ActivityContextInterface
- 10.3.x modules/custom/activity_creator/src/Plugin/ActivityContextInterface.php \Drupal\activity_creator\Plugin\ActivityContextInterface
- 10.0.x modules/custom/activity_creator/src/Plugin/ActivityContextInterface.php \Drupal\activity_creator\Plugin\ActivityContextInterface
- 10.1.x modules/custom/activity_creator/src/Plugin/ActivityContextInterface.php \Drupal\activity_creator\Plugin\ActivityContextInterface
- 10.2.x modules/custom/activity_creator/src/Plugin/ActivityContextInterface.php \Drupal\activity_creator\Plugin\ActivityContextInterface
Defines an interface for Activity content plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\activity_creator\Plugin\ActivityContextInterface
Expanded class hierarchy of ActivityContextInterface
All classes that implement ActivityContextInterface
File
- modules/
custom/ activity_creator/ src/ Plugin/ ActivityContextInterface.php, line 10
Namespace
Drupal\activity_creator\PluginView source
interface ActivityContextInterface extends PluginInspectionInterface {
/**
* Returns a batched list of recipients for this context.
*
* Format
* array(
* array (
* id = uid or gip
* type = "user / group"
* )
* )
*/
public function getRecipients(array $data, $last_id, $limit);
/**
* Determines if the entity is valid for this context.
*/
public function isValidEntity($entity);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ActivityContextInterface:: |
public | function | Returns a batched list of recipients for this context. | 1 |
ActivityContextInterface:: |
public | function | Determines if the entity is valid for this context. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |