function drupal_placeholder

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()
filter_admin_overview in drupal/modules/filter/filter.admin.inc
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/bootstrap.inc
Formats a string for HTML display by replacing variable placeholders.
node_revision_overview in drupal/modules/node/node.pages.inc
Generates an overview table of older revisions of a node.
profile_browse in drupal/modules/profile/profile.pages.inc
Menu callback; display a list of user information.

... See full list

File

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

Code

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