ReferenceProvider

olegd52630483 23-10-2018

I would like to list my own references in the ReferenceDialog

when I publish a page on AEM 6.4.

The question is, which interface do I have to implement:

com.day.cq.wcm.api.reference.ReferenceProvider (marked as depricated for AEM 6.4)

or

com.adobe.granite.references.ReferenceProvider

Thank you!