Home > kibana-plugin-public > CoreStart > injectedMetadata
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;
};