I am creating a custom block programatically, there i need to display a node title and link to it, I have accomplished the displaying of node and title.
How do i link the node to its alias, each node in my application has an alias.
How do i access the alias ion my code. Thanks.