1 | <?php |
||
3 | class DMSGridFieldEditButton extends GridFieldEditButton |
||
|
|||
4 | { |
||
5 | /** |
||
6 | * Overriding the parent method to change the template that the edit button will be rendered with |
||
7 | * |
||
8 | * @param GridField $gridField |
||
9 | * @param DataObject $record |
||
10 | * @param string $columnName |
||
11 | * @return HTMLText |
||
12 | */ |
||
13 | public function getColumnContent($gridField, $record, $columnName) |
||
21 | } |
||
22 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.