Symbiote\AdvancedWorkflow\Forms\GridField\GridFieldWorkflowRestrictedEditButton::getColumnAttributes
Append a 'disabled' CSS class to GridField rows whose WorkflowInstance records are not viewable/editable by the current user.
This is used to visually "grey out" records and it's leveraged in some overriding JavaScript, to maintain an ability to click the target object's hyperlink.
Signature
public function getColumnAttributes(GridField
$gridField,
DataObject
$record,
string
$columnName )
Parameters
$gridField
— object
$record
— object
$columnName
— string
Returns
- array