Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
8a9f7b6d
Commit
8a9f7b6d
authored
Jun 01, 2011
by
Angie Byron
Browse files
Issue
#1079214
follow-up by pillarsdotnet: Adjustment to drupal_goto() doc example.
parent
3d299c46
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
8a9f7b6d
...
...
@@ -632,8 +632,8 @@ function drupal_encode_path($path) {
* user/login and override the default redirection so that the user is
* redirected to a specific path after logging in:
* @code
* $
destination
= array('destination' => "node/$node->nid");
* l(t('Log in'),
array('@login' => url(
'user/login', array('query' =>
array($destination)))
));
* $
query
= array('destination' => "node/$node->nid");
*
$link =
l(t('Log in'), 'user/login', array('query' =>
$query
));
* @endcode
*
* Drupal will ensure that messages set by drupal_set_message() and other
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment