You are here

public function ExportEnrolments::executeMultiple in Open Social 10.2.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_event/modules/social_event_enrolments_export/src/Plugin/Action/ExportEnrolments.php \Drupal\social_event_enrolments_export\Plugin\Action\ExportEnrolments::executeMultiple()
  2. 8.5 modules/social_features/social_event/modules/social_event_enrolments_export/src/Plugin/Action/ExportEnrolments.php \Drupal\social_event_enrolments_export\Plugin\Action\ExportEnrolments::executeMultiple()
  3. 8.6 modules/social_features/social_event/modules/social_event_enrolments_export/src/Plugin/Action/ExportEnrolments.php \Drupal\social_event_enrolments_export\Plugin\Action\ExportEnrolments::executeMultiple()
  4. 8.7 modules/social_features/social_event/modules/social_event_enrolments_export/src/Plugin/Action/ExportEnrolments.php \Drupal\social_event_enrolments_export\Plugin\Action\ExportEnrolments::executeMultiple()
  5. 8.8 modules/social_features/social_event/modules/social_event_enrolments_export/src/Plugin/Action/ExportEnrolments.php \Drupal\social_event_enrolments_export\Plugin\Action\ExportEnrolments::executeMultiple()
  6. 10.3.x modules/social_features/social_event/modules/social_event_enrolments_export/src/Plugin/Action/ExportEnrolments.php \Drupal\social_event_enrolments_export\Plugin\Action\ExportEnrolments::executeMultiple()
  7. 10.0.x modules/social_features/social_event/modules/social_event_enrolments_export/src/Plugin/Action/ExportEnrolments.php \Drupal\social_event_enrolments_export\Plugin\Action\ExportEnrolments::executeMultiple()
  8. 10.1.x modules/social_features/social_event/modules/social_event_enrolments_export/src/Plugin/Action/ExportEnrolments.php \Drupal\social_event_enrolments_export\Plugin\Action\ExportEnrolments::executeMultiple()

Executes the plugin for an array of objects.

Parameters

array $objects: An array of entities.

Overrides ExportUser::executeMultiple

1 call to ExportEnrolments::executeMultiple()
ExportAllEnrolments::executeMultiple in modules/social_features/social_event/modules/social_event_an_enroll_enrolments_export/src/Plugin/Action/ExportAllEnrolments.php
Execute action on multiple entities.
1 method overrides ExportEnrolments::executeMultiple()
ExportAllEnrolments::executeMultiple in modules/social_features/social_event/modules/social_event_an_enroll_enrolments_export/src/Plugin/Action/ExportAllEnrolments.php
Execute action on multiple entities.

File

modules/social_features/social_event/modules/social_event_enrolments_export/src/Plugin/Action/ExportEnrolments.php, line 26

Class

ExportEnrolments
Exports a event enrollment accounts to CSV.

Namespace

Drupal\social_event_enrolments_export\Plugin\Action

Code

public function executeMultiple(array $entities) {

  /** @var \Drupal\social_event\EventEnrollmentInterface $entity */
  foreach ($entities as &$entity) {
    $entity = $this
      ->getAccount($entity);
  }
  parent::executeMultiple($entities);
}