path_admin_filter_get_keys

Versions
6
path_admin_filter_get_keys()

Helper function for grabbing filter keys.

Code

modules/path/path.admin.inc, line 236

<?php
function path_admin_filter_get_keys() {
  // Extract keys as remainder of path
  $path = explode('/', $_GET['q'], 5);
  return count($path) == 5 ? $path[4] : '';
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.