You are here

function revision_scheduler_get_entity_revision_key in Revision scheduler 7

1 call to revision_scheduler_get_entity_revision_key()
revision_scheduler_entity_revision_load_multiple in ./revision_scheduler.module
Load multiple entity revisions.

File

./revision_scheduler.module, line 265

Code

function revision_scheduler_get_entity_revision_key($entity_type) {
  $info = entity_get_info($entity_type);
  return !empty($info['entity keys']['revision']) ? $info['entity keys']['revision'] : FALSE;
}