SortVersionedDataEvent¶
The PSR-14 event \TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent
is
used in the Web > Workspaces module after sorting all data for
versions of a workspace.
Example¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
API¶
- class TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent¶
Used in the workspaces module after sorting all data for versions of a workspace.
- getGridService()¶
- Return type
TYPO3\CMS\Workspaces\Service\GridDataService
- getData()¶
- Return type
array
- setData(array $data)¶
- Parameters
$data (
array
) -- the data
- getSortColumn()¶
- Return type
string
- setSortColumn(string $sortColumn)¶
- Parameters
$sortColumn (
string
) -- the sortColumn
- getSortDirection()¶
- Return type
string
- setSortDirection(string $sortDirection)¶
- Parameters
$sortDirection (
string
) -- the sortDirection