# registerFeature

Register a feature's plugin factory.
Called by side-effect feature imports (e.g., `import '@toolbox-web/grid/features/selection'`).

```ts
registerFeature(name: K, factory: PluginFactory<FeatureConfig<unknown>[K]>, options: RegisterFeatureOptions): void
```

## Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |
| `name` | <code>K</code> | The feature name (matches a key on FeatureConfig) |
| `factory` | <code><a href="/grid/vue/api/types/pluginfactory/">PluginFactory</a>&lt;<a href="/grid/api/core/interfaces/featureconfig/">FeatureConfig</a>&lt;unknown&gt;[K]&gt;</code> | Function that creates a plugin instance from config |
| `options` | <code>RegisterFeatureOptions</code> | Pass `{ override: true }` for intentional re-registration
  (framework adapters bridging the vanilla factory) to suppress TBW030. |
