You are here

function farm_access_init in farmOS 7

Implements hook_init().

File

modules/farm/farm_access/farm_access.module, line 13
Farm Access module.

Code

function farm_access_init() {

  // Add CORS headers to allow API access from approved origins.
  farm_access_add_cors_headers();
}