framework/RedKiteCms/Action/Block/ArchiveBlockAction.php
public function execute(array $options, $username)
    {
        $data = $options["data"];
        $archiveOptions = 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('archive');
        $blockManager->archive(
            $this->app["red_kite_cms.configuration_handler"]->siteDir(),
            $archiveOptions,
            $username,
            $data['data']
        );
    }
public function execute(array $options, $username)
    {
        $data = $options["data"];
        $archiveOptions = 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('archive');
        $blockManager->archive(
            $this->app["red_kite_cms.configuration_handler"]->siteDir(),
            $archiveOptions,
            $username,
            $data['data']
        );
    }
{@inheritdoc}