Interface I_CmsCustomLinkRenderer

All Known Implementing Classes:
CmsProtectedStaticFileHandler

public interface I_CmsCustomLinkRenderer
Interface used to inject custom link handling behavior into HTML/link content fields.
  • Method Details

    • getLink

      Returns the link for the given link object.

      If null is returned, this means the normal link handling behavior should be used instead.

      Parameters:
      cms - the CMS context
      link - the link object
      Returns:
      the link for the link object
    • getLink

      Returns the link for the given link resource.

      If null is returned, this means the normal link handling behavior should be used instead.

      Parameters:
      cms - the CMS context
      resource - the resource linked to
      Returns:
      the link for the link object