src/Contao/View/Contao2BackendView/ActionHandler/AbstractListShowAllHandler.php
private function isSortable(EnvironmentInterface $environment)
    {
        return ((true === (bool) ViewHelpers::getManualSortingProperty($environment))
                && (true === $environment->getDataDefinition()->getBasicDefinition()->isEditable()));
    }
private function isSortable(EnvironmentInterface $environment)
    {
        return ((true === (bool) ViewHelpers::getManualSortingProperty($environment))
                && (true === $environment->getDataDefinition()->getBasicDefinition()->isEditable()));
    }
private function isSortable ( EnvironmentInterface $ environment ) { return ( ( true === ( bool ) ViewHelpers :: getManualSortingProperty ( $ environment ) ) && ( true === $ environment -> getDataDefinition ( ) -> getBasicDefinition ( ) -> isEditable ( ) ) ) ; }
Check if the models are sortable.

@param EnvironmentInterface $environment The environment.

@return bool
Check if the models are sortable .