You are here

function entity_share_ui_client_node_operations in Entity Share 7

Implements hook_node_operations().

For the standard content view.

File

modules/entity_share_ui/modules/entity_share_ui_client/entity_share_ui_client.module, line 111
Entity Share UI Client .module file.

Code

function entity_share_ui_client_node_operations() {
  $operations = array();
  if (user_access('access share contents')) {
    $operations['entity_share:share'] = array(
      'label' => t('Share contents'),
      'callback' => 'entity_share_ui_share_action',
      'callback arguments' => array(),
    );
  }
  return $operations;
}