key.'.label'; } public function getDescriptionKey(): string { return self::TRANSLATION_PREFIX.$this->key.'.description'; } /** * Auto-generated click IDs can't be restricted to a list of values. * * @return string[] */ public function getAllowedModes(): array { if ($this->autoGenerated) { return [UtmParameterMode::FREE, UtmParameterMode::DISABLED]; } return UtmParameterMode::ALL; } public function isModeAllowed(string $mode): bool { return in_array($mode, $this->getAllowedModes(), true); } public static function getSuggestionLabelKey(string $value): string { return 'mautic.smartlinks.config.suggestion.'.$value; } }