Blocks in 5.7

Permalink 1 user found helpful
How to use blocks in controller.php ,

BlockType::installBlockTypeFromPackage('page_list', $pkg);

I have change page_list block and place folder in package directory (blocks>page_list>templates>pagelistnew.php) which works in 5.6. what do i do for working in 5.7

 
core77 replied on at Permalink Best Answer Reply
https://github.com/core77/foundation_sites/blob/master/controller.php#L88

Check line 27, too!