CloudflarePurgerExtension::getPurgeLinks
Build a list of URLs to purge.
The DataObject can implement a `CloudflarePurgeLinks` method to define what URLs should be purge. That Url can return a simple string or an array of string. The Url return should be relative to the site root. If the parent DataObject doesn't have a `CloudflarePurgeLinks` method, we'll try to access the `Link()` method instead.
Signature
protected function getPurgeLinks()
Returns
- array