- $handler = new stdClass();
- $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
- $handler->api_version = 1;
- $handler->name = 'node_view_http_response_2';
- $handler->task = 'node_view';
- $handler->subtask = '';
- $handler->handler = 'http_response';
- $handler->weight = -25;
- $handler->conf = array(
- 'title' => 'Customization request access denied',
- 'contexts' => array(),
- 'relationships' => array(),
- 'code' => '403',
- 'destination' => '',
- 'access' => array(
- 'plugins' => array(
- 0 => array(
- 'name' => 'perm',
- 'settings' => array(
- 'perm' => 'administer nodes',
- ),
- 'context' => 'logged-in-user',
- 'not' => TRUE,
- ),
- 1 => array(
- 'name' => 'node_type',
- 'settings' => array(
- 'type' => array(
- 'customization_request' => 'customization_request',
- ),
- ),
- 'context' => 'argument_entity_id:node_1',
- 'not' => FALSE,
- ),
- ),
- 'logic' => 'and',
- ),
- );