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