---
title: "PluginCommonModule"
generated: true
---
<GenerationInfo sourceFile="packages/core/src/plugin/plugin-common.module.ts" sourceLine="30" packageName="@vendure/core" />

This module provides the common services, configuration, and event bus capabilities
required by a typical plugin. It should be imported into plugins to avoid having to
repeat the same boilerplate for each individual plugin.

The PluginCommonModule exports:

* `EventBusModule`, allowing the injection of the <DocsLink href="/reference/typescript-api/events/event-bus#eventbus">EventBus</DocsLink> service.
* `ServiceModule` allowing the injection of any of the various entity services such as ProductService, OrderService etc.
* `ConfigModule`, allowing the injection of the ConfigService.
* `JobQueueModule`, allowing the injection of the <DocsLink href="/reference/typescript-api/job-queue/job-queue-service#jobqueueservice">JobQueueService</DocsLink>.
* `HealthCheckModule`, allowing the injection of the <DocsLink href="/reference/typescript-api/health-check/health-check-registry-service#healthcheckregistryservice">HealthCheckRegistryService</DocsLink>.

```ts title="Signature"
class PluginCommonModule {

}
```
