src/CoreBundle/EventListener/DcGeneral/DefinitionBuilder/Contao2BackendViewDefinitionBuilder.php
private function parseListing()
    {
        $listing = $this->definition->getListingConfig();

        if (null === $listing->getRootLabel()) {
            $listing->setRootLabel($this->metaModel->get('name'));
        }

        if (null === $listing->getRootIcon()) {
            $listing->setRootIcon($this->iconBuilder->getBackendIcon($this->inputScreen['meta']['backendicon']));
        }

        $this->parseListSorting($listing);
        $this->parseListLabel($listing);

        $listing->setShowColumns((bool) $this->inputScreen['meta']['showColumns']);
    }
private function parseListing()
    {
        $listing = $this->definition->getListingConfig();

        if (null === $listing->getRootLabel()) {
            $listing->setRootLabel($this->metaModel->get('name'));
        }

        if (null === $listing->getRootIcon()) {
            $listing->setRootIcon($this->iconBuilder->getBackendIcon($this->inputScreen['meta']['backendicon']));
        }

        $this->parseListSorting($listing);
        $this->parseListLabel($listing);

        $listing->setShowColumns((bool) $this->inputScreen['meta']['showColumns']);
    }
Parse the listing configuration.

@return void