You are here

function _delete_all_vocabulary_keys in Delete all 7

Private callback to determine if a variable starts with 'type_'.

Parameters

$var: The string to test against.

Return value

bool TRUE if $var begins with 'type_'

2 string references to '_delete_all_vocabulary_keys'
delete_all_content_confirm in ./delete_all.module
delete_all_content_confirm_submit in ./delete_all.module

File

./delete_all.module, line 546
Delete all 7.x module

Code

function _delete_all_vocabulary_keys($var) {
  return strpos($var, 'vocabulary_') === 0 ? TRUE : FALSE;
}