Chaitanya Lakshmi
  • About Me
  • Job Duties
  • Knowledge Blog
  • Applications
  • Contact Us
    • Linked In
    • Facebook
  • About Me
  • Job Duties
  • Knowledge Blog
  • Applications
  • Contact Us
    • Linked In
    • Facebook

What is custom_url_rewrite_inbound in Drupal?

2/29/2012

0 Comments

 
Syn: custom_url_rewrite_inbound(&$result, $path, $path_language)

  1. custom_url_rewrite_inbound is not a hook, it's a function.
  2. You can add to settings.php to alter incoming requests so they map to a Drupal path.
  3. This function is called before modules are loaded and the menu system is initialized and it changes $_GET['q'].

This function should change the value of $result by reference.

Parameters:

$result: The Drupal path based on the database. If there is no match in the database it'll be the same as $path.

$path: The path to be rewritten.

$path_language: An optional language code to rewrite the path into.

0 Comments



Leave a Reply.

    Archives

    April 2012
    March 2012
    February 2012

    Categor

    All
    Ajax
    Api
    Cross Site Scripting
    Css
    Curl
    Design Patterns
    Drupal
    Exception Handling
    Htaccess
    Html
    Javascript
    Jquery
    Json
    Linux
    Mysql
    Oops
    Php
    Regular Expressions
    Web 2.0
    Webservices
    Wordpress
    Xhtml

    RSS Feed

Powered by Create your own unique website with customizable templates.