# PluginStaticMembers

interface

Static properties of a plugin.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-core/src/plugin.ts#L287)

<a id="type-parameters">

## Type parameters

### `TContext: Editor`

<a id="properties">

## Properties

<a id="member-isContextPlugin">

### `isContextPlugin?: boolean` _(readonly)_

A flag which defines if a plugin is allowed or not allowed to be used directly by a [`Context`](module_core_context-Context.md).

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-core/src/plugin.ts#L334)

<a id="member-pluginName">

### `pluginName?: string` _(readonly)_

An optional name of the plugin. If set, the plugin will be available in [`get`](module_core_plugincollection-PluginCollection.md#function-get) by its name and its constructor. If not, then only by its constructor.

The name should reflect the constructor name.

To keep the plugin class definition tight, it is recommended to define this property as a static getter:

```typescript
export class ImageCaption {
	static get pluginName() {
		return 'ImageCaption';
	}
}
```

Note: The native `Function.name` property could not be used to keep the plugin name because it will be mangled during code minification.

Naming a plugin is necessary to enable removing it through the [`config.removePlugins`](module_core_editor_editorconfig-EditorConfig.md#member-removePlugins) option.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-core/src/plugin.ts#L329)

<a id="member-requires">

### `requires?: PluginDependencies<TContext>` _(readonly)_

An array of plugins required by this plugin.

To keep the plugin class definition tight it is recommended to define this property as a static getter:

```typescript
import { Image } from './image.js';

export class ImageCaption {
	static get requires(): PluginDependenciesOf<[ Image ]> {
		return [ Image ];
	}
}
```

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-core/src/plugin.ts#L304)

<a id="member-isOfficialPlugin">

### `isOfficialPlugin?: boolean` _(internal)_

A flag which defines if a plugin is an official CKEditor 5 plugin.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-core/src/plugin.ts#L341)

<a id="member-isPremiumPlugin">

### `isPremiumPlugin?: boolean` _(internal)_

A flag which defines if a plugin is a premium CKEditor 5 plugin.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-core/src/plugin.ts#L348)

<a id="member-licenseFeatureCode">

### `licenseFeatureCode?: string` _(internal)_

An unique id of a plugin which belongs to the free plan on commercial license.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-core/src/plugin.ts#L355)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
