/**
  * {@inheritdoc}
  */
 public function getHint()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getHint');
     if (!$pluginInfo) {
         return parent::getHint();
     } else {
         return $this->___callPlugins('getHint', func_get_args(), $pluginInfo);
     }
 }
Example #2
0
 public function testGetHintTranslatesElementHint()
 {
     $this->_model->setData(['hint' => 'element hint'], 'scope');
     $this->assertEquals(__('element hint'), $this->_model->getHint());
 }