VersionedGridFieldState
class VersionedGridFieldState implements GridField_ColumnProvider
Methods
No description
Column to decorate with version state
No description
Search list for default column
No description
Modify the list of columns displayed in the table.
HTML for the column, content of the element.
Attributes for the element containing the content returned by {@link getColumnContent()}.
Additional metadata about the column which can be used by other components, e.g. to set a title for a search column header.
Details
at line 27
__construct($versionedLabelFields = ['Name', 'Title'])
at line 37
string
getColumn()
Column to decorate with version state
at line 46
VersionedGridFieldState
setColumn(string $column)
at line 57
array
getVersionedLabelFields()
Search list for default column
at line 66
VersionedGridFieldState
setVersionedLabelFields(array $versionedLabelFields)
at line 81
augmentColumns(GridField $gridField, array $columns)
Modify the list of columns displayed in the table.
at line 111
array
getColumnsHandled(GridField $gridField)
Names of all columns which are affected by this component.
at line 124
string
getColumnContent(GridField $gridField, DataObject $record, string $columnName)
HTML for the column, content of the element.
at line 148
array
getColumnAttributes(GridField $gridField, DataObject $record, string $columnName)
Attributes for the element containing the content returned by {@link getColumnContent()}.
at line 161
array
getColumnMetadata(GridField $gridField, string $columnName)
Additional metadata about the column which can be used by other components, e.g. to set a title for a search column header.