theme_placeholder
includes/theme.inc, line 380
- Versions
- 4.6 – 7
theme_placeholder($text)
Formats text for emphasized display in a placeholder inside a sentence. Used automatically by t().
Parameters
$text The text to format (plain-text).
Return value
The formatted text (html).
Related topics
Code
<?php
function theme_placeholder($text) {
return '<em>'. check_plain($text) .'</em>';
}
?> 