ActivityDestinationInterface.php in Open Social 8.6
Same filename and directory in other branches
- 8.9 modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.php
- 8 modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.php
- 8.2 modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.php
- 8.3 modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.php
- 8.4 modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.php
- 8.5 modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.php
- 8.7 modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.php
- 8.8 modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.php
- 10.3.x modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.php
- 10.0.x modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.php
- 10.1.x modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.php
- 10.2.x modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.php
Namespace
Drupal\activity_creator\PluginFile
modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.phpView source
<?php
namespace Drupal\activity_creator\Plugin;
use Drupal\Component\Plugin\PluginInspectionInterface;
/**
* Defines an interface for Activity destination plugins.
*/
interface ActivityDestinationInterface extends PluginInspectionInterface {
/**
* Returns a view mode for the entity.
*/
public function getViewMode($original_view_mode, $entity);
/**
* True or false if the activity destination is set.
*/
public function isActiveInView($view);
}
Interfaces
Name | Description |
---|---|
ActivityDestinationInterface | Defines an interface for Activity destination plugins. |