Hello!
Is there a way to use helper in Cake\View\Cell class?
I’m using $helpers property to load helper, but i can’t use it’s methods, because helper instance is null…
namespace TestPlugin\View\Cell; use Cake\View\Cell; class NavigationBarCell extends Cell { protected $_validCellOptions = []; public $helpers = [ 'Menu' ]; public function display() { // MenuHelper is exist, no warnings or errors, but // $this->Menu === null $this->Menu->init('main'); } }