SilverStripe\Versioned\Versioned::hasPublishedOwners
Determine if this object is published, and has any published owners.
If this is true, a warning should be shown before this is published. Note: This method returns false if the object itself is unpublished, since owners are only considered on the same stage as the record itself.
Signature
public function hasPublishedOwners()
Returns
- bool