public function getPotentialMessage() { $message = parent::getPotentialMessage(); $imageTypes = array_map('strtoupper', $this->options[self::OPTION_ALLOWED_IMAGES]); $message->setVariables(array('image_types' => implode(', ', $imageTypes))); return $message; }
public function getPotentialMessage() { $message = parent::getPotentialMessage(); $fileExtensions = array_map('strtoupper', $this->options[self::OPTION_ALLOWED_EXTENSIONS]); $message->setVariables(array('file_extensions' => implode(', ', $fileExtensions))); return $message; }