protected function parseGlobalOperations(Contao2BackendViewDefinitionInterface $view)
    {
        $operationsDca = $this->getFromDca('list/global_operations');

        $collection = $view->getGlobalCommands();
        $collection->addCommand(new BackCommand());
        $collection->addCommand(new CreateModelCommand());

        if (!\is_array($operationsDca)) {
            return;
        }

        foreach (\array_keys($operationsDca) as $operationName) {
            $command = $this->createCommand($operationName, $operationsDca[$operationName]);
            $collection->addCommand($command);
        }
    }