ImportedNode: provide Url

This commit is contained in:
Thomas Gelf 2016-12-22 14:18:13 +01:00
parent 8516e8749e
commit af8fe7c03d

View file

@ -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
*/