Block Name / Title (spaces between words)
Permalink
How can I show spaces between each word in my block name when it is shown in Add Block and Edit Block?
The name I have is something like this in the code:
BlahFooBar
But, I want it to be like this when it is displayed as an block for adding / editing:
Blah Foo Bar
Thanks.
The name I have is something like this in the code:
BlahFooBar
But, I want it to be like this when it is displayed as an block for adding / editing:
Blah Foo Bar
Thanks.
Put a space in between the words in the code. Not sure what you are trying to ask.
Where is the displayed string defined in the code?
I add spaces to this method: public function getBlockTypeName()
But it didn't change the display...
I add spaces to this method: public function getBlockTypeName()
But it didn't change the display...
in what file did you add it to? block controller?
I adjusted the getBlockTypeName() in the block's controller. (but it didn't seem to have an effect)
Try removing and then reinstalling the block.