How to use Drupal Aliases
Created
January 4, 2012 02:41
-
-
Save matiskay/1558186 to your computer and use it in GitHub Desktop.
Working with Drupal url
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$nid = 8; | |
echo url('node' . $nid); // $SITE_ROOT/node/8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment