docs: public static Map<String, String> elementSettingTagAction(ServletRequest req) {
  
          CmsFlexController controller = CmsFlexController.getController(req);
  
          CmsObject cms = controller.getCmsObject();
          // try to find element setting on the container element
          try {
              CmsContainerElementBean currentElement = OpenCms.getADEManager().getCurrentElement(req);
              currentElement.initResource(cms);
              return currentElement.getSettings();
          } catch (CmsException e) {
              // most likely we are not in a container page
              LOG.debug(e.getLocalizedMessage(), e);
              return Collections.emptyMap();
          }
      }