public static function registerPlugin(BlockView $view, $pluginName)
    {
        $optionsArray = $view->vars['block_prefixes'];
        array_splice(
            $optionsArray,
            -1,
            1,
            [$pluginName, end($optionsArray)]
        );
        $view->vars['block_prefixes'] = $optionsArray;
    }