You are here

function n1ed_setApiKey in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

Handler for setting API key and access token for N1ED

1 string reference to 'n1ed_setApiKey'
n1ed_menu in ./n1ed.module
Implementation of hook_menu

File

./n1ed.module, line 46

Code

function n1ed_setApiKey() {
  $key = $_POST['n1edApiKey'];
  $token = $_POST['n1edToken'];
  variable_set('n1edApiKey', $key);
  variable_set('n1edToken', $token);
  die('ok');
}