public function ActivityDestinationBase::isActiveInView in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/activity_creator/src/Plugin/ActivityDestinationBase.php \Drupal\activity_creator\Plugin\ActivityDestinationBase::isActiveInView()
- 8.2 modules/custom/activity_creator/src/Plugin/ActivityDestinationBase.php \Drupal\activity_creator\Plugin\ActivityDestinationBase::isActiveInView()
- 8.3 modules/custom/activity_creator/src/Plugin/ActivityDestinationBase.php \Drupal\activity_creator\Plugin\ActivityDestinationBase::isActiveInView()
- 8.4 modules/custom/activity_creator/src/Plugin/ActivityDestinationBase.php \Drupal\activity_creator\Plugin\ActivityDestinationBase::isActiveInView()
- 8.5 modules/custom/activity_creator/src/Plugin/ActivityDestinationBase.php \Drupal\activity_creator\Plugin\ActivityDestinationBase::isActiveInView()
- 8.6 modules/custom/activity_creator/src/Plugin/ActivityDestinationBase.php \Drupal\activity_creator\Plugin\ActivityDestinationBase::isActiveInView()
- 8.7 modules/custom/activity_creator/src/Plugin/ActivityDestinationBase.php \Drupal\activity_creator\Plugin\ActivityDestinationBase::isActiveInView()
- 8.8 modules/custom/activity_creator/src/Plugin/ActivityDestinationBase.php \Drupal\activity_creator\Plugin\ActivityDestinationBase::isActiveInView()
- 10.3.x modules/custom/activity_creator/src/Plugin/ActivityDestinationBase.php \Drupal\activity_creator\Plugin\ActivityDestinationBase::isActiveInView()
- 10.0.x modules/custom/activity_creator/src/Plugin/ActivityDestinationBase.php \Drupal\activity_creator\Plugin\ActivityDestinationBase::isActiveInView()
- 10.1.x modules/custom/activity_creator/src/Plugin/ActivityDestinationBase.php \Drupal\activity_creator\Plugin\ActivityDestinationBase::isActiveInView()
- 10.2.x modules/custom/activity_creator/src/Plugin/ActivityDestinationBase.php \Drupal\activity_creator\Plugin\ActivityDestinationBase::isActiveInView()
True or false if the activity destination is set.
Overrides ActivityDestinationInterface::isActiveInView
File
- modules/
custom/ activity_creator/ src/ Plugin/ ActivityDestinationBase.php, line 22
Class
- ActivityDestinationBase
- Base class for Activity destination plugins.
Namespace
Drupal\activity_creator\PluginCode
public function isActiveInView($view) {
if (isset($view->filter['field_activity_destinations_value']->value[$this->pluginId])) {
if ($view->filter['field_activity_destinations_value']->value[$this->pluginId] === $this->pluginId) {
return TRUE;
}
}
return FALSE;
}