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 ( )
-
- returntype
-
TYPO3\CMS\Workspaces\Service\GridDataService
- getData ( )
-
- returntype
-
array
- setData ( array $data)
-
- param array $data
-
the data
- getSortColumn ( )
-
- returntype
-
string
- setSortColumn ( string $sortColumn)
-
- param string $sortColumn
-
the sortColumn
- getSortDirection ( )
-
- returntype
-
string
- setSortDirection ( string $sortDirection)
-
- param string $sortDirection
-
the sortDirection