You are here

public function ExportMember::executeMultiple in Open Social 10.3.x

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

Executes the plugin for an array of objects.

Parameters

array $objects: An array of entities.

Overrides ExportUser::executeMultiple

File

modules/social_features/social_group/modules/social_group_members_export/src/Plugin/Action/ExportMember.php, line 25

Class

ExportMember
Exports a group member accounts to CSV.

Namespace

Drupal\social_group_members_export\Plugin\Action

Code

public function executeMultiple(array $entities) {

  /** @var \Drupal\group\Entity\GroupContentInterface $entity */
  foreach ($entities as &$entity) {
    $entity = $entity
      ->getEntity();
  }
  parent::executeMultiple($entities);
}