From 1298fc3c75885c5bd427004a655dcc55743292c8 Mon Sep 17 00:00:00 2001 From: aljawaid <10233708+aljawaid@users.noreply.github.com> Date: Mon, 2 Oct 2023 20:06:40 +0100 Subject: [PATCH] Register Link Provider - #2 --- Plugin.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Plugin.php b/Plugin.php index a9bf7c4..a3e978e 100644 --- a/Plugin.php +++ b/Plugin.php @@ -32,6 +32,9 @@ public function initialize() // - Example: $this->route->addRoute('/my/custom/route', 'MyController', 'show', 'PluginNameExampleStudlyCaps'); // - Must have the corresponding action in the matching controller //$this->route->addRoute('/ / ', ' ', ' ', 'TaskLinker'); + + // Register New Link Provider + $this->externalLinkManager->register(new MyLinkProvider($this->container)); } public function onStartup()