From 6d0a11c26e58e8d9d30516e52529679d56de5b52 Mon Sep 17 00:00:00 2001 From: Franz Wilding Date: Wed, 16 Dec 2015 10:43:39 +0100 Subject: [PATCH] Fix InvalidArgumentException on config:export:content:type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the InvalidArgumentException: „The "content_type" argument does not exist.“ I have not looked at the whole code and just tried this out. --- src/Command/Config/ExportContentTypeCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/Config/ExportContentTypeCommand.php b/src/Command/Config/ExportContentTypeCommand.php index 30d80834d..e17dbfcfd 100644 --- a/src/Command/Config/ExportContentTypeCommand.php +++ b/src/Command/Config/ExportContentTypeCommand.php @@ -98,7 +98,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $this->configStorage = $this->getConfigStorage(); $module = $input->getOption('module'); - $contentType = $input->getArgument('content_type'); + $contentType = $input->getArgument('content-type'); $optionalConfig = $input->getOption('optional-config'); $contentTypeDefinition = $this->entity_manager->getDefinition('node_type');