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

NullServices

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

NullServices.log

A trivial log service that does nothing.

NullServices.localization(s) ⇒ string

A trivial localization service that returns the string unchanged.

Returns: string - The unchanged string.

Param Type Description
s string The string to localize.