ActivityActionInterface.php in Open Social 8.8
Same filename and directory in other branches
- 8.9 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php
- 8 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php
- 8.2 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php
- 8.3 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php
- 8.4 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php
- 8.5 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php
- 8.6 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php
- 8.7 modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php
- 10.3.x modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php
- 10.0.x modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php
- 10.1.x modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php
- 10.2.x modules/custom/activity_creator/src/Plugin/ActivityActionInterface.php
Namespace
Drupal\activity_creator\PluginFile
modules/custom/activity_creator/src/Plugin/ActivityActionInterface.phpView source
<?php
namespace Drupal\activity_creator\Plugin;
use Drupal\Component\Plugin\PluginInspectionInterface;
/**
* Defines an interface for Activity action plugins.
*/
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);
}
Interfaces
Name | Description |
---|---|
ActivityActionInterface | Defines an interface for Activity action plugins. |