# Function: getPluginManifest()

```ts
function getPluginManifest(plugin: PluginConstructor): PluginManifest;

```

Loads and validates the manifest from a plugin constructor. Normalizes string type/permission to strict ResourceType/ResourcePermission.

## Parameters[​](#parameters "Direct link to Parameters")

| Parameter | Type                | Description                  |
| --------- | ------------------- | ---------------------------- |
| `plugin`  | `PluginConstructor` | The plugin constructor class |

## Returns[​](#returns "Direct link to Returns")

[`PluginManifest`](/appkit/docs/api/appkit/Interface.PluginManifest.md)

The validated, normalized plugin manifest

## Throws[​](#throws "Direct link to Throws")

If the manifest is missing, invalid, or has invalid resource type/permission
