Beispiel #1
0
 public function testGetGroupPath()
 {
     $this->_model->setData(['id' => 'fieldId', 'path' => 'sectionId/groupId/subgroupId'], 'scope');
     $this->assertEquals('sectionId/groupId/subgroupId', $this->_model->getGroupPath());
 }
 /**
  * {@inheritdoc}
  */
 public function getGroupPath()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getGroupPath');
     if (!$pluginInfo) {
         return parent::getGroupPath();
     } else {
         return $this->___callPlugins('getGroupPath', func_get_args(), $pluginInfo);
     }
 }