code: private Map<String, String> getComponentHtmlTagAttributes(String resourceType) {
      if (StringUtils.isNotEmpty(resourceType)) {
        Component component = componentManager().getComponent(resourceType);
        if (component != null && component.getHtmlTagAttributes() != null) {
          return component.getHtmlTagAttributes();
        }
      }
      return ImmutableMap.of();
    }
docs: Get HTML tag attributes from component.
  @param resourceType Component path
  @return Map (never null)