/** * @inherit doc */ public function init() { $this->validateSourceData(); $this->_module = Config::initModule(Module::classname()); $this->initSelectedNode(); if (empty($this->emptyNodeMsg)) { $this->emptyNodeMsg = Yii::t('kvtree', 'No valid tree nodes are available for display. Use toolbar buttons to add tree nodes.'); } parent::init(); }