We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64af9c9 commit ec102c2Copy full SHA for ec102c2
1 file changed
x-pack/plugins/features/server/plugin.ts
@@ -26,6 +26,11 @@ import { defineRoutes } from './routes';
26
*/
27
export interface PluginSetupContract {
28
registerFeature(feature: FeatureConfig): void;
29
+ /*
30
+ * Calling this function during setup will crash Kibana.
31
+ * Use start contract instead.
32
+ * @deprecated
33
+ * */
34
getFeatures(): Feature[];
35
getFeaturesUICapabilities(): UICapabilities;
36
}
0 commit comments