code: protected CmsResource getFunctionFormatter(CmsObject cms) throws CmsException {
  
          CmsVfsMemoryObjectCache cache = CmsVfsMemoryObjectCache.getVfsMemoryObjectCache();
          String path = CmsResourceTypeFunctionConfig.FORMATTER_PATH;
          Object cacheValue = cache.getCachedObject(cms, path);
          if (cacheValue == null) {
              CmsResource functionRes = cms.readResource(path);
              cache.putCachedObject(cms, path, functionRes);
              return functionRes;
          } else {
              return (CmsResource)cacheValue;
          }
      }
docs: Gets the function formatter resource, possibly from the cache.<p>
  
  @param cms the current CMS context
  @return the function formatter resource
  
  @throws CmsException if something goes wrong