You are here

function _schema_process_description in Schema 6

Same name and namespace in other branches
  1. 5 schema.module \_schema_process_description()
  2. 7 schema.pages.inc \_schema_process_description()
1 call to _schema_process_description()
schema_describe in ./schema.module
"Describe" menu callback.

File

./schema.module, line 611
The Schema module provides functionality built on the Schema API.

Code

function _schema_process_description($desc) {
  return preg_replace('@{([a-z_]+)}@i', '<a href="#" onclick="Drupal.toggleFieldset($(\'#table-$1\')[0]); return false;">$1</a>', $desc);
}