Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 743 Bytes

kibana-plugin-public.corestart.injectedmetadata.md

File metadata and controls

19 lines (13 loc) · 743 Bytes

Home > kibana-plugin-public > CoreStart > injectedMetadata

CoreStart.injectedMetadata property

Warning: This API is now obsolete.

exposed temporarily until elastic#41990 done use *only* to retrieve config values. There is no way to set injected values in the new platform. Use the legacy platform API instead.

Signature:

injectedMetadata: {
        getInjectedVar: (name: string, defaultValue?: any) => unknown;
    };