Trouble moving block elements from core to application
I'm trying make changes to the default form block. Specifically, the mini_survey.php file
When I move that file from the core folder to the application folder (~/application/blocks/form) it isn't working. Do I have to edit anything in any file in order to make this work?
On a related note, I tried moving the controller.php file from core to application and got the following error: Class '\Application\Block\Form\Controller' not found
Do I have to edit the namespace or any other part of the controller when I move it? I know in 5.6, I could just copy the file out of core and work without immediately. Are there more steps involved with 5.7?
for example a content block's controller should now start like:
<?php namespace Application\Block\Content; class Controller extends \Concrete\Block\Content\Controller
You can also find more info in the docs