function ajax_markup_access in Ajax markup 6
Same name and namespace in other branches
- 7 ajax_markup.module \ajax_markup_access()
Check ajax markup access.
1 string reference to 'ajax_markup_access'
- ajax_markup_menu in ./
ajax_markup.module - Implementation of hook_menu().
File
- ./
ajax_markup.module, line 26
Code
function ajax_markup_access() {
return user_access('access ajax markup') && isset($_POST['token']) && drupal_valid_token($_POST['token'], 'ajax-markup', TRUE);
}