function _aet_is_valid in Advanced Entity Tokens 7
2 calls to _aet_is_valid()
- aet_insert_get_filter in aet_insert/
aet_insert.fields.inc - This function creates the AET Insert field filters.
- _aet_entity_tokens in ./
aet.tokens.inc - INTERNAL implementation of hook_tokens specified for entities.
File
- ./
aet.module, line 107 - The AET main module file.
Code
function _aet_is_valid($id) {
return is_numeric($id) || AET_UUID && uuid_is_valid($id);
}