function xbbcode_handler_update in Extensible BBCode 8
Same name and namespace in other branches
- 7 xbbcode.crud.inc \xbbcode_handler_update()
Change a tag to a different module.
Parameters
$format: Which format to affect (0 for global).
$name: The tag name.
$module: The module name to use in the future.
1 call to xbbcode_handler_update()
File
- ./
xbbcode.crud.inc, line 158 - Data interface for creating, reading, updating and deleting records.
Code
function xbbcode_handler_update($format, $name, $module) {
return db_update('xbbcode_handler')
->fields(array(
'module' => $module,
))
->condition('format', $format)
->condition('name', $name)
->execute();
}