public function __construct(View $View, array $config = [])
{
$this->_defaultConfig = ['align' => 'default', 'errorClass' => null, 'grid' => ['left' => 2, 'middle' => 6, 'right' => 4], 'templates' => $this->_templates + $this->_defaultConfig['templates']] + $this->_defaultConfig;
if (isset($this->_defaultConfig['templateSet'])) {
$this->_defaultConfig['templateSet'] = Hash::merge($this->_templateSet, $this->_defaultConfig['templateSet']);
} else {
$this->_defaultConfig['templateSet'] = $this->_templateSet;
}
$this->_defaultWidgets = $this->_widgets + $this->_defaultWidgets;
parent::__construct($View, $config);
}