How to rename a Block?

Permalink 1 user found helpful
How does one rename a Block that is already used in the website (just the name used in the Block list not the block type handle).
As I have many Blocks and many instances, I am reluctant to uninstall/reinstall the Blocks I need to rename.
I have tried changing the Block's controller.php e.g. btName variable or the value returned by getBlockTypeName.
The changes have no effect, in the Block Types list the Block name remains the same.
Advice welcome. I'm using 5.6.2.1

Jon.

adaptive
 
adaptive replied on at Permalink Best Answer Reply
adaptive
Okay, I'll answer my own post.
After updating the Block controller btName property, or, if the controller explicitly defines the name using the getBlockTypeName function, in Dashboard, go to Block Types list, click on the Block, then click Refresh. Go back to the Block Types list and the Block name will be updated. All Blocks throughout the site will be updated.
catchanil1989 replied on at Permalink Reply
Hi adaptive , Your answer saved lot of my time... Thanks a lot man... Cheers...