Block controller?
Permalink
Can you explain to me where this block controller can be located? so i could add the bellow fuction:
public function getSearchableContent() {
return $this->content;
}
Cheers
public function getSearchableContent() {
return $this->content;
}
Cheers
what? the function is called by concrete5 to get the content that it can search, so that is returning the content
If you are trying to add that functionality to a block you are building it would go into the controller.php of the block which would be in the blocks/blockname directory. Just add that function inside the BlockNameBlockController Class.