You are here

function hosting_platform_node_operations in Hosting 6.2

Implements hook_node_operations().

File

platform/hosting_platform.module, line 147
Platform node type definition.

Code

function hosting_platform_node_operations() {
  $operations = array();
  $operations['hosting-platform-verify'] = array(
    'label' => t('Platform: Verify'),
    'callback' => 'hosting_platform_op_verify',
  );
  $operations['hosting-platform-lock'] = array(
    'label' => t('Platform: Lock'),
    'callback' => 'hosting_platform_op_lock',
  );
  $operations['hosting-platform-unlock'] = array(
    'label' => t('Platform: Unlock'),
    'callback' => 'hosting_platform_op_unlock',
  );
  $operations['hosting-platform-delete'] = array(
    'label' => t('Platform: Delete'),
    'callback' => 'hosting_platform_op_delete',
  );
  return $operations;
}