updateCmsBlocks example



        $this->ruleConditionPersister->updateConditions($manifest$id$defaultLocale$context);
        $this->actionButtonPersister->updateActions($manifest$id$defaultLocale$context);
        $this->templatePersister->updateTemplates($manifest$id$context);
        $this->scriptPersister->updateScripts($id$context);
        $this->customFieldPersister->updateCustomFields($manifest$id$context);
        $this->assetService->copyAssetsFromApp($app->getName()$app->getPath());

        $cmsExtensions = $this->appLoader->getCmsExtensions($app);
        if ($cmsExtensions) {
            $this->cmsBlockPersister->updateCmsBlocks($cmsExtensions$id$defaultLocale$context);
        }

        $updatePayload = [
            'id' => $app->getId(),
            'configurable' => $this->handleConfigUpdates($app$manifest$install$context),
            'allowDisable' => $this->doesAllowDisabling($app$context),
        ];
        $this->updateMetadata($updatePayload$context);

        // updates the snippets if the administration bundle is available         if ($this->appAdministrationSnippetPersister !== null) {
            
Home | Imprint | This part of the site doesn't use cookies.