GridFieldVersionedState deprecated
class GridFieldVersionedState extends VersionedGridFieldState
deprecated 4.1.0:5.0.0
Methods
No description
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 18
__construct($versionedLabelFields = ['Name', 'Title'])
in VersionedGridFieldState at line 37
string
getColumn()
Column to decorate with version state
in VersionedGridFieldState at line 46
VersionedGridFieldState
setColumn(string $column)
in VersionedGridFieldState at line 57
array
getVersionedLabelFields()
Search list for default column
in VersionedGridFieldState at line 66
VersionedGridFieldState
setVersionedLabelFields(array $versionedLabelFields)
in VersionedGridFieldState at line 81
augmentColumns(GridField $gridField, array $columns)
Modify the list of columns displayed in the table.
in VersionedGridFieldState at line 111
array
getColumnsHandled(GridField $gridField)
Names of all columns which are affected by this component.
in VersionedGridFieldState at line 124
string
getColumnContent(GridField $gridField, DataObject $record, string $columnName)
HTML for the column, content of the element.
in VersionedGridFieldState at line 148
array
getColumnAttributes(GridField $gridField, DataObject $record, string $columnName)
Attributes for the element containing the content returned by {@link getColumnContent()}.
in VersionedGridFieldState 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.