framework/RedKiteCms/Action/Block/RestoreBlockAction.php
public function execute(array $options, $username)
    {
        $data = $options["data"];
        $restoreOptions = array(
            'page' => $data['page'],
            'language' => $data['language'],
            'country' => $data['country'],
            'slot' => $data['slot'],
            'blockname' => $data['name'],
        );

        $blockManager = $this->app["red_kite_cms.blocks_manager_factory"]->create('restore');
        $blockManager->restore(
            $this->app["red_kite_cms.configuration_handler"]->siteDir(),
            $restoreOptions,
            $username,
            $data['archiveFile']
        );
    }
public function execute(array $options, $username)
    {
        $data = $options["data"];
        $restoreOptions = array(
            'page' => $data['page'],
            'language' => $data['language'],
            'country' => $data['country'],
            'slot' => $data['slot'],
            'blockname' => $data['name'],
        );

        $blockManager = $this->app["red_kite_cms.blocks_manager_factory"]->create('restore');
        $blockManager->restore(
            $this->app["red_kite_cms.configuration_handler"]->siteDir(),
            $restoreOptions,
            $username,
            $data['archiveFile']
        );
    }
{@inheritdoc}