public function Utility::faqAskGetToken in FAQ_Ask 8
Identical to drupal_get_token() but without session variable and the salt.
1 call to Utility::faqAskGetToken()
- faq_ask_mail in ./
faq_ask.module - Implements hook_mail().
File
- src/
Utility.php, line 24 - Contains \Drupal\faq_ask\Utility.
Class
- Utility
- Contains static helper functions for FAQ module.
Namespace
Drupal\faq_askCode
public function faqAskGetToken($value = '') {
return Crypt::hmacBase64($value, \Drupal::service('private_key')
->get());
}