Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3443488
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3443488
Commits
eabf7ab4
Commit
eabf7ab4
authored
16 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#180137
by c960657: added type hinting to make it easier to track down errors.
parent
e85f1b32
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/common.inc
+2
-2
2 additions, 2 deletions
includes/common.inc
with
2 additions
and
2 deletions
includes/common.inc
+
2
−
2
View file @
eabf7ab4
...
...
@@ -1318,7 +1318,7 @@ function format_date($timestamp, $type = 'medium', $format = '', $timezone = NUL
* When creating links in modules, consider whether l() could be a better
* alternative than url().
*/
function
url
(
$path
=
NULL
,
$options
=
array
())
{
function
url
(
$path
=
NULL
,
array
$options
=
array
())
{
// Merge in defaults.
$options
+=
array
(
'fragment'
=>
''
,
...
...
@@ -1491,7 +1491,7 @@ function drupal_attributes($attributes = array()) {
* @return
* an HTML string containing a link to the given path.
*/
function
l
(
$text
,
$path
,
$options
=
array
())
{
function
l
(
$text
,
$path
,
array
$options
=
array
())
{
// Merge in defaults.
$options
+=
array
(
'attributes'
=>
array
(),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment