Skip to content

Instantly share code, notes, and snippets.

@kvnm
Created February 14, 2014 20:35
Show Gist options
  • Save kvnm/9008727 to your computer and use it in GitHub Desktop.
Save kvnm/9008727 to your computer and use it in GitHub Desktop.
Return an array of Drupal page alias arguments.
<?php
$alias = explode('/', drupal_get_path_alias(current_path()));
@mikedotexe
Copy link

k3wl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment