function drupal_placeholder

7.x drupal_placeholder($text)
8.x drupal_placeholder($text)

Formats text for emphasized display in a placeholder inside a sentence.

Used automatically by format_string().


$text: The text to format (plain-text).

Return value

The formatted text (html).

6 calls to drupal_placeholder()
filter_admin_overview in drupal/modules/filter/
Page callback: Form constructor for a form to list and reorder text formats.
filter_permission in drupal/modules/filter/filter.module
Implements hook_permission().
format_string in drupal/includes/
Formats a string for HTML display by replacing variable placeholders.
node_revision_overview in drupal/modules/node/
Generates an overview table of older revisions of a node.
profile_browse in drupal/modules/profile/
Menu callback; display a list of user information.

... See full list


drupal/includes/, line 3414
Functions that need to be loaded on every Drupal request.


function drupal_placeholder($text) {
  return '<em class="placeholder">' . check_plain($text) . '</em>';