public function ExportAllEnrolments::getPluginConfiguration in Open Social 8.6
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/modules/social_event_an_enroll_enrolments_export/src/Plugin/Action/ExportAllEnrolments.php \Drupal\social_event_an_enroll_enrolments_export\Plugin\Action\ExportAllEnrolments::getPluginConfiguration()
- 8.5 modules/social_features/social_event/modules/social_event_an_enroll_enrolments_export/src/Plugin/Action/ExportAllEnrolments.php \Drupal\social_event_an_enroll_enrolments_export\Plugin\Action\ExportAllEnrolments::getPluginConfiguration()
- 8.7 modules/social_features/social_event/modules/social_event_an_enroll_enrolments_export/src/Plugin/Action/ExportAllEnrolments.php \Drupal\social_event_an_enroll_enrolments_export\Plugin\Action\ExportAllEnrolments::getPluginConfiguration()
- 8.8 modules/social_features/social_event/modules/social_event_an_enroll_enrolments_export/src/Plugin/Action/ExportAllEnrolments.php \Drupal\social_event_an_enroll_enrolments_export\Plugin\Action\ExportAllEnrolments::getPluginConfiguration()
- 10.3.x modules/social_features/social_event/modules/social_event_an_enroll_enrolments_export/src/Plugin/Action/ExportAllEnrolments.php \Drupal\social_event_an_enroll_enrolments_export\Plugin\Action\ExportAllEnrolments::getPluginConfiguration()
- 10.0.x modules/social_features/social_event/modules/social_event_an_enroll_enrolments_export/src/Plugin/Action/ExportAllEnrolments.php \Drupal\social_event_an_enroll_enrolments_export\Plugin\Action\ExportAllEnrolments::getPluginConfiguration()
- 10.1.x modules/social_features/social_event/modules/social_event_an_enroll_enrolments_export/src/Plugin/Action/ExportAllEnrolments.php \Drupal\social_event_an_enroll_enrolments_export\Plugin\Action\ExportAllEnrolments::getPluginConfiguration()
- 10.2.x modules/social_features/social_event/modules/social_event_an_enroll_enrolments_export/src/Plugin/Action/ExportAllEnrolments.php \Drupal\social_event_an_enroll_enrolments_export\Plugin\Action\ExportAllEnrolments::getPluginConfiguration()
Gets export plugin's configuration.
Parameters
int $plugin_id: The plugin ID.
int $entity_id: The position of an entity in the entities list.
Return value
array An array of export plugin's configuration.
Overrides ExportUser::getPluginConfiguration
File
- modules/
social_features/ social_event/ modules/ social_event_an_enroll_enrolments_export/ src/ Plugin/ Action/ ExportAllEnrolments.php, line 123
Class
- ExportAllEnrolments
- Exports a event enrollment accounts to CSV.
Namespace
Drupal\social_event_an_enroll_enrolments_export\Plugin\ActionCode
public function getPluginConfiguration($plugin_id, $entity_id) {
$configuration = parent::getPluginConfiguration($plugin_id, $entity_id);
$plugin_definition =& $this->pluginDefinitions[$plugin_id];
if ($plugin_definition['provider'] === 'social_event_an_enroll_enrolments_export') {
$configuration['entity'] = $this->entities[$entity_id];
}
return $configuration;
}