Edit this topic

Null services




: /modules/core/multi-tenancy/lib/null-services.js

: https://github.com/DecentCMS/DecentCMS/blob/master/modules/core/multi-tenancy/lib/null-services.js


Exposes trivial implementations of common services so there is a reasonable fallback if no service of that type is registered.

Kind: global variable


A trivial log service that does nothing.

Kind: static property of NullServices

NullServices.localization(s) ⇒ string

A trivial localization service that returns the string unchanged.

Kind: static method of NullServices
Returns: string - The unchanged string.

Param Type Description
s string The string to localize.