init)) { $config['init'] = $this->init; } $config['plugins'] = $this->plugins; if (!empty($this->size)) { $config['size'] = $this->size; } $config['toolbar'] = $this->toolbar; if (!empty($this->uploadUrl)) { $config['uploadUrl'] = $this->uploadUrl; } if ($this->wordLimit) { $config['wordLimit'] = $this->wordLimit; $config['wordCountLabel'] = __('publication.wordCount'); } return $config; } }