| 5 theme.inc | theme_placeholder($text) |
| 6 theme.inc | theme_placeholder($text) |
Format a dynamic text string for emphasised display in a placeholder.
E.g. t('Added term %term', array('%term' => theme('placeholder', $term)))
Parameters
$text: The text to format (plain-text).
Return value
The formatted text (html).
Related topics
69 theme calls to theme_placeholder()
File
- includes/
theme.inc, line 363 - The theme system, which controls the output of Drupal.
Code
function theme_placeholder($text) {
return '<em>' . check_plain($text) . '</em>';
}
Login or register to post comments