code: function fromContext(navigationContext) {
          var navigationContextInParent =
            currentContext.context.parentNavigationContexts.indexOf(
              navigationContext
            ) !== -1;
          if (navigationContextInParent) {
            options.fromContext = navigationContext;
          } else {
            options.errorSkipNavigation = true;
            console.error(
              'Navigation not possible, navigationContext ' +
                navigationContext +
                ' not found.'
            );
          }
          return this;
        }
docs: Sets the current navigation context to that of a specific parent node which has the {@link navigation-configuration.md navigationContext} field declared in the navigation configuration. This navigation context is then used by the `navigate` function.
  @param {string} navigationContext
  @returns {linkManager} link manager instance
  @example
  LuigiClient.linkManager().fromContext('project').navigate('/settings')