Creates a hook that manages an entity state.
The type of the entity.
The parameters to configure the hook.
Creates a hook that manages an entity state.