public function SocialEventManagersViewsBulkOperationsBulkForm::getBulkOptions in Open Social 8.8
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/modules/social_event_managers/src/Plugin/views/field/SocialEventManagersViewsBulkOperationsBulkForm.php \Drupal\social_event_managers\Plugin\views\field\SocialEventManagersViewsBulkOperationsBulkForm::getBulkOptions()
- 8.5 modules/social_features/social_event/modules/social_event_managers/src/Plugin/views/field/SocialEventManagersViewsBulkOperationsBulkForm.php \Drupal\social_event_managers\Plugin\views\field\SocialEventManagersViewsBulkOperationsBulkForm::getBulkOptions()
- 8.6 modules/social_features/social_event/modules/social_event_managers/src/Plugin/views/field/SocialEventManagersViewsBulkOperationsBulkForm.php \Drupal\social_event_managers\Plugin\views\field\SocialEventManagersViewsBulkOperationsBulkForm::getBulkOptions()
- 8.7 modules/social_features/social_event/modules/social_event_managers/src/Plugin/views/field/SocialEventManagersViewsBulkOperationsBulkForm.php \Drupal\social_event_managers\Plugin\views\field\SocialEventManagersViewsBulkOperationsBulkForm::getBulkOptions()
- 10.3.x modules/social_features/social_event/modules/social_event_managers/src/Plugin/views/field/SocialEventManagersViewsBulkOperationsBulkForm.php \Drupal\social_event_managers\Plugin\views\field\SocialEventManagersViewsBulkOperationsBulkForm::getBulkOptions()
- 10.0.x modules/social_features/social_event/modules/social_event_managers/src/Plugin/views/field/SocialEventManagersViewsBulkOperationsBulkForm.php \Drupal\social_event_managers\Plugin\views\field\SocialEventManagersViewsBulkOperationsBulkForm::getBulkOptions()
- 10.1.x modules/social_features/social_event/modules/social_event_managers/src/Plugin/views/field/SocialEventManagersViewsBulkOperationsBulkForm.php \Drupal\social_event_managers\Plugin\views\field\SocialEventManagersViewsBulkOperationsBulkForm::getBulkOptions()
- 10.2.x modules/social_features/social_event/modules/social_event_managers/src/Plugin/views/field/SocialEventManagersViewsBulkOperationsBulkForm.php \Drupal\social_event_managers\Plugin\views\field\SocialEventManagersViewsBulkOperationsBulkForm::getBulkOptions()
2 calls to SocialEventManagersViewsBulkOperationsBulkForm::getBulkOptions()
- SocialEventManagersViewsBulkOperationsBulkForm::viewsForm in modules/
social_features/ social_event/ modules/ social_event_managers/ src/ Plugin/ views/ field/ SocialEventManagersViewsBulkOperationsBulkForm.php - SocialEventManagersViewsBulkOperationsBulkForm::viewsFormValidate in modules/
social_features/ social_event/ modules/ social_event_managers/ src/ Plugin/ views/ field/ SocialEventManagersViewsBulkOperationsBulkForm.php
File
- modules/
social_features/ social_event/ modules/ social_event_managers/ src/ Plugin/ views/ field/ SocialEventManagersViewsBulkOperationsBulkForm.php, line 98
Class
- SocialEventManagersViewsBulkOperationsBulkForm
- Defines the Enrollments Views Bulk Operations field plugin.
Namespace
Drupal\social_event_managers\Plugin\views\fieldCode
public function getBulkOptions() {
$bulk_options = parent::getBulkOptions();
if ($this->view
->id() !== 'event_manage_enrollments') {
return $bulk_options;
}
foreach ($bulk_options as $id => &$label) {
if (!empty($this->options['preconfiguration'][$id]['label_override'])) {
$real_label = $this->options['preconfiguration'][$id]['label_override'];
}
else {
$real_label = $this->actions[$id]['label'];
}
$label = $this
->t('<b>@action</b> selected enrollees', [
'@action' => $real_label,
]);
}
return $bulk_options;
}