Taitava\CMSEditLink\DataObjectExtension
Class DataObjectExtension
Synopsis
Hierarchy
Extends
- SilverStripe\Core\Extension
Methods
public
- CMSEditLink() — Returns a link to the edit page of this DataObject in the CMS. The returned value is an instance of CMSEditLink which can be automatically converted to a simple string representing the absolute URL of the link. You can also modify the link before converting it to a string. CMSEditLinks can be rendered in templates too, and you can also call the URL() method of a CMSEditLink instance to get the same url.