You are here

public function ActivityDestinationBase::getViewMode in Open Social 8.9

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

Returns a view mode for the entity.

Overrides ActivityDestinationInterface::getViewMode

File

modules/custom/activity_creator/src/Plugin/ActivityDestinationBase.php, line 15

Class

ActivityDestinationBase
Base class for Activity destination plugins.

Namespace

Drupal\activity_creator\Plugin

Code

public function getViewMode($original_view_mode, $entity) {
  return $original_view_mode;
}