docs: protected CmsFormatterConfiguration getFormattersFromSchema(CmsObject cms, CmsResource res) {
  
          try {
              return OpenCms.getResourceManager().getResourceType(res.getTypeId()).getFormattersForResource(cms, res);
          } catch (CmsException e) {
              LOG.error(e.getLocalizedMessage(), e);
              return CmsFormatterConfiguration.EMPTY_CONFIGURATION;
          }
      }