/** * Returns json-encoded entity behaviors notes array * * @return string */ public function getEntityBehaviorsNotes() { $behaviors = $this->_importModel->getEntityBehaviors(); foreach ($behaviors as $entityCode => $behavior) { $behaviors[$entityCode] = $behavior['notes']; } return $this->_jsonEncoder->encode($behaviors); }
/** * {@inheritdoc} */ public function getEntityBehaviors() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getEntityBehaviors'); if (!$pluginInfo) { return parent::getEntityBehaviors(); } else { return $this->___callPlugins('getEntityBehaviors', func_get_args(), $pluginInfo); } }