l10n->t('Create a new deck card'); } /** * @inheritDoc */ public function getOrder(): int { return 10; } /** * @inheritDoc */ public function getIconUrl(): string { return $this->urlGenerator->getAbsoluteURL( $this->urlGenerator->imagePath(Application::APP_ID, 'deck-dark.svg') ); } /** * @inheritDoc */ public function matchReference(string $referenceText): bool { return false; } /** * @inheritDoc */ public function resolveReference(string $referenceText): ?IReference { return null; } /** * @inheritDoc */ public function getCachePrefix(string $referenceId): string { return $this->userId ?? ''; } /** * We don't use the userId here but rather a reference unique id * @inheritDoc */ public function getCacheKey(string $referenceId): ?string { return $referenceId; } }