You are here

function _schema_process_description in Schema 5

Same name and namespace in other branches
  1. 6 schema.module \_schema_process_description()
  2. 7 schema.pages.inc \_schema_process_description()
1 call to _schema_process_description()
schema_describe in ./schema.module

File

./schema.module, line 505

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