Drupal generic code for CodeOp projects