GridFieldExtension
extends Extension
in package
Class GridFieldExtension Dirty hack to get the alert/warning/info classes in to the gridfield
Table of Contents
Properties
- $owner : GridField|GridFieldExtension
Methods
- updateNewRowClasses() : mixed
- Add the visibility classes to the GridField
Properties
$owner
public
GridField|GridFieldExtension
$owner
Methods
updateNewRowClasses()
Add the visibility classes to the GridField
public
updateNewRowClasses(array<string|int, mixed> &$classes, int $total, string $index, DataObject $record) : mixed
Parameters
- $classes : array<string|int, mixed>
- $total : int
- $index : string
- $record : DataObject