You are here

function geshinode_load in GeSHi Filter for syntax highlighting 6

Same name and namespace in other branches
  1. 5.2 geshinode.module \geshinode_load()

Implementation of hook_load().

File

./geshinode.module, line 140
Implementation of a GeSHi node.

Code

function geshinode_load($node) {
  return db_fetch_object(db_query('SELECT language AS source_code_language FROM {geshinode} WHERE vid = %d', $node->vid));
}