/** * Also merges enabled flag. * * @param array $current * @param array $options * @return array */ protected function _mergeOptions(array $current, array $options) { // Do the bulk of the merging. $current = parent::_mergeOptions($current, $options); // Test for an enabled flag. if (isset($options['enabled'])) { $current['enabled'] = $options['enabled']; } if (isset($options['frontend']['customFrontendNaming'])) { $current['frontend']['customFrontendNaming'] = $options['frontend']['customFrontendNaming']; } if (isset($options['backend']['customBackendNaming'])) { $current['backend']['customBackendNaming'] = $options['backend']['customBackendNaming']; } return $current; }