public function testGetDesignAttributes() { $attributes = $this->_model->getDesignAttributes(); $this->assertContains('custom_design_from', array_keys($attributes)); $this->assertContains('custom_design_to', array_keys($attributes)); }
/** * {@inheritdoc} */ public function getDesignAttributes() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getDesignAttributes'); if (!$pluginInfo) { return parent::getDesignAttributes(); } else { return $this->___callPlugins('getDesignAttributes', func_get_args(), $pluginInfo); } }