| 1 | <?php |
||
| 16 | class GridFieldEditButtonOriginalPage extends GridFieldEditButton implements GridField_ColumnProvider |
||
|
|
|||
| 17 | { |
||
| 18 | |||
| 19 | |||
| 20 | /** |
||
| 21 | * @param GridField $gridField |
||
| 22 | * @param DataObject $record |
||
| 23 | * @param string $columnName |
||
| 24 | * |
||
| 25 | * @return string - the HTML for the column |
||
| 26 | */ |
||
| 27 | public function getColumnContent($gridField, $record, $columnName) |
||
| 40 | } |
||
| 41 |
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.