public function execute(array $options, $username)
    {
        $data = $options["data"];
        $editOptions = 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('edit');
        $blockManager->edit(
            $this->app["red_kite_cms.configuration_handler"]->siteDir(),
            $editOptions,
            $username,
            $data['data']
        );
    }
public function execute(array $options, $username)
    {
        $data = $options["data"];
        $editOptions = 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('edit');
        $blockManager->edit(
            $this->app["red_kite_cms.configuration_handler"]->siteDir(),
            $editOptions,
            $username,
            $data['data']
        );
    }
{@inheritdoc}