function _l in Coder 7.2
Define a wrapper l() function that works in Drush cli.
Parameters
string $text:
string $path:
array $options:
Return value
string
See also
l()
3 calls to _l()
- _coder_review_settings_form in coder_review/
coder_review.module - Form constructor: Builds settings form API array for coder_review.
- _drupalapi in coder_review/
coder_review.common.inc - Creates a link to the Drupal API docs.
- _phpapi in coder_review/
coder_review.common.inc - Creates a link to the PHP API docs.
File
- coder_review/
coder_review.common.inc, line 1450 - Common functions used by both the drush and form interfaces.
Code
function _l($text, $path, $options = array()) {
return _drush() ? "{$text} {$path}" : l($text, $path, $options);
}