You are here

interface ActivityDestinationInterface in Open Social 10.3.x

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

Defines an interface for Activity destination plugins.

Hierarchy

Expanded class hierarchy of ActivityDestinationInterface

All classes that implement ActivityDestinationInterface

File

modules/custom/activity_creator/src/Plugin/ActivityDestinationInterface.php, line 10

Namespace

Drupal\activity_creator\Plugin
View source
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);

}

Members

Namesort descending Modifiers Type Description Overrides
ActivityDestinationInterface::getViewMode public function Returns a view mode for the entity. 1
ActivityDestinationInterface::isActiveInView public function True or false if the activity destination is set. 1
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2