src/Panel/DefaultSortElement.php
protected function getGroupAndSortingDefinition()
    {
        /** @var Contao2BackendViewDefinitionInterface $view */
        $view = $this->getEnvironment()
            ->getDataDefinition()
            ->getDefinition(Contao2BackendViewDefinitionInterface::NAME);

        return $view
            ->getListingConfig()
            ->getGroupAndSortingDefinition();
    }
protected function getGroupAndSortingDefinition()
    {
        /** @var Contao2BackendViewDefinitionInterface $view */
        $view = $this->getEnvironment()
            ->getDataDefinition()
            ->getDefinition(Contao2BackendViewDefinitionInterface::NAME);

        return $view
            ->getListingConfig()
            ->getGroupAndSortingDefinition();
    }
protected function getGroupAndSortingDefinition ( ) { /** @var Contao2BackendViewDefinitionInterface $view */ $ view = $ this -> getEnvironment ( ) -> getDataDefinition ( ) -> getDefinition ( Contao2BackendViewDefinitionInterface :: NAME ) ; return $ view -> getListingConfig ( ) -> getGroupAndSortingDefinition ( ) ; }
Retrieve the group and sorting definition.

@return GroupAndSortingDefinitionCollectionInterface|GroupAndSortingDefinitionInterface[]
Retrieve the group and sorting definition .