protected function generateBlock(BlockInterface $block)
    {
        $block->setSiteId('2');

        $this->manager->persist($block);
        $this->manager->flush();

        return $block;
    }
protected function generateBlock(BlockInterface $block)
    {
        $block->setSiteId('2');

        $this->manager->persist($block);
        $this->manager->flush();

        return $block;
    }
@param BlockInterface $block

@return BlockInterface