src/CoreBundle/EventListener/DcGeneral/DefinitionBuilder/MetaModelDefinitionBuilder.php
protected function build(IMetaModelDataDefinition $container)
    {
        $definition = $this->createOrGetDefinition($container);

        if (empty($combination = $this->viewCombination->getCombination($container->getName()))) {
            return;
        }

        if (!$definition->hasActiveRenderSetting()) {
            $definition->setActiveRenderSetting($combination['view_id']);
        }

        if (!$definition->hasActiveInputScreen()) {
            $definition->setActiveInputScreen($combination['dca_id']);
        }
    }
protected function build(IMetaModelDataDefinition $container)
    {
        $definition = $this->createOrGetDefinition($container);

        if (empty($combination = $this->viewCombination->getCombination($container->getName()))) {
            return;
        }

        if (!$definition->hasActiveRenderSetting()) {
            $definition->setActiveRenderSetting($combination['view_id']);
        }

        if (!$definition->hasActiveInputScreen()) {
            $definition->setActiveInputScreen($combination['dca_id']);
        }
    }
protected function build ( IMetaModelDataDefinition $ container ) { $ definition = $ this -> createOrGetDefinition ( $ container ) ; if ( empty ( $ combination = $ this -> viewCombination -> getCombination ( $ container -> getName ( ) ) ) ) { return ; } if ( ! $ definition -> hasActiveRenderSetting ( ) ) { $ definition -> setActiveRenderSetting ( $ combination [ 'view_id' ] ) ; } if ( ! $ definition -> hasActiveInputScreen ( ) ) { $ definition -> setActiveInputScreen ( $ combination [ 'dca_id' ] ) ; } }
Build the definition.

@param IMetaModelDataDefinition $container The container being built.

@return void
Build the definition .