Home > server > BaseEntityController > attach
Override this method to handle the attachment of an entity to your entity controller.
Signature:
attach(entity: Entity): void;|
Parameter |
Type |
Description |
|---|---|---|
|
entity |
The entity to attach the controller to. |
void