You are here

function node_entity_revision_operation_info in Revision scheduler 7

Implements hook_entity_revision_operation_info() on behalf of node.module.

File

./revision_scheduler.module, line 839

Code

function node_entity_revision_operation_info() {
  $operations['node']['revert'] = array(
    'label' => t('Revert'),
    'access arguments' => array(
      'revert revisions',
    ),
    'callback' => 'node_node_revision_operation_revert',
  );
  $operations['node']['delete'] = array(
    'label' => t('Delete'),
    'access arguments' => array(
      'delete revisions',
    ),
    'callback' => 'node_node_revision_operation_delete',
  );
  return $operations;
}