mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-26 17:29:34 -05:00
ImportedNode: provide Url
This commit is contained in:
parent
8516e8749e
commit
af8fe7c03d
1 changed files with 10 additions and 0 deletions
|
|
@ -59,6 +59,16 @@ class ImportedNode extends Node
|
|||
return $this->importedNode()->getAlias();
|
||||
}
|
||||
|
||||
public function getUrl()
|
||||
{
|
||||
$params = array(
|
||||
'config' => $this->getConfigName(),
|
||||
'node' => $this->importedNode->getName()
|
||||
);
|
||||
|
||||
return Url::fromPath('businessprocess/process/show', $params);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue