Make method block_frontend_assets public
-
Hello,
I use this code to load the assets of Image-Box block for html code generated outside getwid.
getwid()->blocksManager()->getBlocks()['getwid/image-box']->block_frontend_assets();But I can’t use the same technique for Video-Popup because
Getwid\Blocks\VideoPopup::block_frontend_assetsis a private method.It would be great if all
block_frontend_assetsmethods werepublic.Edit: I made a pull request.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Make method block_frontend_assets public’ is closed to new replies.