| 7 bootstrap.inc | drupal_placeholder($text) |
| 8 bootstrap.inc | drupal_placeholder($text) |
Formats text for emphasized display in a placeholder inside a sentence.
Used automatically by format_string().
Parameters
$text: The text to format (plain-text).
Return value
The formatted text (html).
6 calls to drupal_placeholder()
File
- includes/
bootstrap.inc, line 3304 - Functions that need to be loaded on every Drupal request.
Code
function drupal_placeholder($text) {
return '<em class="placeholder">' . check_plain($text) . '</em>';
}
Login or register to post comments