You are here

function restws_entity_info_alter in RESTful Web Services 7

Implements hook_entity_info_alter().

@todo Remove this once https://drupal.org/node/1780646 is fixed.

File

./restws.module, line 477
RESTful web services module.

Code

function restws_entity_info_alter(&$info) {

  // In order for this to work we have to make sure we run after entity_api.
  // @see restws_module_implements_alter().
  $info['node']['access callback'] = 'restws_entity_node_access';
}