protected function parseBasicFlags(BasicDefinitionInterface $config)
    {
        if (null !== ($switchToEdit = $this->getFromDca('config/switchToEdit'))) {
            $config->setSwitchToEditEnabled((bool) $switchToEdit);
        }

        if (null !== ($value = $this->getFromDca('config/forceEdit'))) {
            $config->setEditOnlyMode((bool) $value);
        }

        if (null !== ($value = $this->getFromDca('config/closed'))) {
            $config
                ->setEditable(!$value)
                ->setCreatable(!$value);
        }

        if (null !== ($value = $this->getFromDca('config/notEditable'))) {
            $config->setEditable(!$value);
        }

        if (null !== ($value = $this->getFromDca('config/notDeletable'))) {
            $config->setDeletable(!$value);
        }

        if (null !== ($value = $this->getFromDca('config/notCreatable'))) {
            $config->setCreatable(!(bool) $value);
        }

        if (null !== ($value = $this->getFromDca('config/dynamicPtable'))) {
            $config->setDynamicParentTable((bool) $value);
        }
    }