interface ActivityActionInterface in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php \Drupal\activity_creator\Plugin\ActivityActionInterface
- 8.2 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php \Drupal\activity_creator\Plugin\ActivityActionInterface
- 8.3 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php \Drupal\activity_creator\Plugin\ActivityActionInterface
- 8.4 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php \Drupal\activity_creator\Plugin\ActivityActionInterface
- 8.5 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php \Drupal\activity_creator\Plugin\ActivityActionInterface
- 8.6 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php \Drupal\activity_creator\Plugin\ActivityActionInterface
- 8.7 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php \Drupal\activity_creator\Plugin\ActivityActionInterface
- 8.8 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php \Drupal\activity_creator\Plugin\ActivityActionInterface
- 10.3.x modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php \Drupal\activity_creator\Plugin\ActivityActionInterface
- 10.0.x modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php \Drupal\activity_creator\Plugin\ActivityActionInterface
- 10.1.x modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php \Drupal\activity_creator\Plugin\ActivityActionInterface
- 10.2.x modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php \Drupal\activity_creator\Plugin\ActivityActionInterface
Defines an interface for Activity action plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\activity_creator\Plugin\ActivityActionInterface
Expanded class hierarchy of ActivityActionInterface
All classes that implement ActivityActionInterface
File
- modules/
custom/ activity_creator/ src/ Plugin/ ActivityActionInterface.php, line 10
Namespace
Drupal\activity_creator\PluginView source
interface ActivityActionInterface extends PluginInspectionInterface {
/**
* Creates a new message on the action with some logic behind it.
*/
public function create($entity);
/**
* Dumb function that can be called to create the message.
*/
public function createMessage($entity);
/**
* Checks if this is a valid entity for the action.
*/
public function isValidEntity($entity);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ActivityActionInterface:: |
public | function | Creates a new message on the action with some logic behind it. | 1 |
ActivityActionInterface:: |
public | function | Dumb function that can be called to create the message. | 1 |
ActivityActionInterface:: |
public | function | Checks if this is a valid entity for the action. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |