src/CoreBundle/EventListener/DcGeneral/DefinitionBuilder/Contao2BackendViewDefinitionBuilder.php
protected function build(IMetaModelDataDefinition $container)
    {
        $this->container   = $container;
        $this->definition  = $this->getOrCreateDefinition();
        $this->inputScreen = $this->viewCombination->getScreen($container->getName());
        $this->metaModel   = $this->factory->getMetaModel($container->getName());

        $this->parseListing();

        $this->container   = null;
        $this->definition  = null;
        $this->inputScreen = null;
        $this->metaModel   = null;
    }
protected function build(IMetaModelDataDefinition $container)
    {
        $this->container   = $container;
        $this->definition  = $this->getOrCreateDefinition();
        $this->inputScreen = $this->viewCombination->getScreen($container->getName());
        $this->metaModel   = $this->factory->getMetaModel($container->getName());

        $this->parseListing();

        $this->container   = null;
        $this->definition  = null;
        $this->inputScreen = null;
        $this->metaModel   = null;
    }
Parse and build the backend view definition for the old Contao2 backend view.

@param IMetaModelDataDefinition $container The data container.

@throws DcGeneralInvalidArgumentException When the contained view definition is of invalid type.

@return void