MCPcopy Index your code
hub / github.com/ether/etherpad / getPublicPrivacyBanner

Function getPublicPrivacyBanner

src/node/utils/Settings.ts:890–896  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

888// instead of `settings.privacyBanner` itself stops a typo or copy-paste from
889// shipping arbitrary extra keys to every browser.
890export const getPublicPrivacyBanner = () => ({
891 enabled: settings.privacyBanner.enabled,
892 title: settings.privacyBanner.title,
893 body: settings.privacyBanner.body,
894 learnMoreUrl: settings.privacyBanner.learnMoreUrl,
895 dismissal: settings.privacyBanner.dismissal,
896});
897
898export default settings;
899// CJS compatibility: plugins use require('ep_etherpad-lite/node/utils/Settings')

Callers 2

handleClientReadyFunction · 0.90
Settings.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected