You are here

function hook_simplemeta in Simple Meta 7

Same name and namespace in other branches
  1. 6.2 simplemeta.api.php \hook_simplemeta()

Respond to performed on SimpleMeta data actions.

Parameters

object $meta : meta object operation is performed on.

string $op : performed operation, possible values are:

  • insert: SimpleMeta data has just been inserted to DB
  • update: SimpleMeta data has just been updated in DB
  • delete: SimpleMeta data has just been removed from DB
2 invocations of hook_simplemeta()
simplemeta_meta_delete in ./simplemeta.module
Delete meta data.
simplemeta_meta_save in ./simplemeta.module
Save meta data.

File

./simplemeta.api.php, line 49
Documents available hooks of the SimpleMeta module.

Code

function hook_simplemeta($meta, $op) {

  // Do something.
}