You are here

function _schema_process_description in Schema 7

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

File

./schema.pages.inc, line 261
Page callbacks for the Schema module.

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);
}