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

New util method: ContentUtil.getAncestorOfType

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: