You are here

protected function SocialEventManagersViewsBulkOperationsBulkForm::getTempstoreData in Open Social 10.0.x

Same name and namespace in other branches
  1. 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::getTempstoreData()
  2. 8.8 modules/social_features/social_event/modules/social_event_managers/src/Plugin/views/field/SocialEventManagersViewsBulkOperationsBulkForm.php \Drupal\social_event_managers\Plugin\views\field\SocialEventManagersViewsBulkOperationsBulkForm::getTempstoreData()
  3. 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::getTempstoreData()
  4. 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::getTempstoreData()
  5. 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::getTempstoreData()

Gets the current view user tempstore data.

Parameters

string $view_id: The current view ID.

string $display_id: The display ID of the current view.

Overrides ViewsBulkOperationsFormTrait::getTempstoreData

1 call to SocialEventManagersViewsBulkOperationsBulkForm::getTempstoreData()
SocialEventManagersViewsBulkOperationsBulkForm::viewsForm in modules/social_features/social_event/modules/social_event_managers/src/Plugin/views/field/SocialEventManagersViewsBulkOperationsBulkForm.php
Form constructor for the bulk form.

File

modules/social_features/social_event/modules/social_event_managers/src/Plugin/views/field/SocialEventManagersViewsBulkOperationsBulkForm.php, line 364

Class

SocialEventManagersViewsBulkOperationsBulkForm
Defines the Enrollments Views Bulk Operations field plugin.

Namespace

Drupal\social_event_managers\Plugin\views\field

Code

protected function getTempstoreData($view_id = NULL, $display_id = NULL) {
  $data = parent::getTempstoreData($view_id, $display_id);
  if (is_array($data) && $data) {
    if ($view_id && !isset($data['view_id'])) {
      $data['view_id'] = $view_id;
    }
    if ($display_id && !isset($data['display_id'])) {
      $data['display_id'] = $display_id;
    }
  }
  return $data;
}