Skip to content

Commit

Permalink
Register Link Provider
Browse files Browse the repository at this point in the history
 -  #2
  • Loading branch information
aljawaid committed Oct 2, 2023
1 parent cca5b93 commit 1298fc3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1298fc3

Please sign in to comment.