1. $handler = new stdClass();
  2. $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
  3. $handler->api_version = 1;
  4. $handler->name = 'node_view_http_response_2';
  5. $handler->task = 'node_view';
  6. $handler->subtask = '';
  7. $handler->handler = 'http_response';
  8. $handler->weight = -25;
  9. $handler->conf = array(
  10. 'title' => 'Customization request access denied',
  11. 'contexts' => array(),
  12. 'relationships' => array(),
  13. 'code' => '403',
  14. 'destination' => '',
  15. 'access' => array(
  16. 'plugins' => array(
  17. 0 => array(
  18. 'name' => 'perm',
  19. 'settings' => array(
  20. 'perm' => 'administer nodes',
  21. ),
  22. 'context' => 'logged-in-user',
  23. 'not' => TRUE,
  24. ),
  25. 1 => array(
  26. 'name' => 'node_type',
  27. 'settings' => array(
  28. 'type' => array(
  29. 'customization_request' => 'customization_request',
  30. ),
  31. ),
  32. 'context' => 'argument_entity_id:node_1',
  33. 'not' => FALSE,
  34. ),
  35. ),
  36. 'logic' => 'and',
  37. ),
  38. );
Comments powered by Disqus