LittleGiant\CatalogManager\Extensions\CatalogPageExtension::getClassSortFieldName
Gets the field name for a class's sort column. As CatalogPageExtension is applied to subclasses of SiteTree, 'Sort' is default.
Can be overwritten using $sort_column config on extended class. Set $sort_column config to false to disable sorting in the gridfield
Signature
public function getClassSortFieldName(string|object
$class )
Parameters
$class
— object
Returns
- null|string