Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3791

New util method: ContentUtil.getAncestorOfType

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 4.4.5
    • None
    • core
    • None
    • Yes
    • Yes

      Here's a little patch that adds a simple, yet useful and often rewritten method to retrieve a node's first ancestor of a given type.

      Meant to be added to the existing info.magnolia.cms.util.ContentUtil, not added a separate class.

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: