function patterns_api_reserved_words in Patterns 7
Same name and namespace in other branches
- 7.2 includes/api/api.inc \patterns_api_reserved_words()
Returns an array with the reserved words for Patterns files
Those words are not allowed to be used as section headings.
Return value
Array The array of reserved words.
1 call to patterns_api_reserved_words()
- patterns_api_is_reserved_word in includes/
api/ api.inc - Returns TRUE if a string is a Patterns reserved word
File
- includes/
api/ api.inc, line 18 - API for writing pattern files.
Code
function patterns_api_reserved_words() {
return array(
PATTERNS_TAG,
PATTERNS_SECTION_INFO,
PATTERNS_SECTION_MODULES,
PATTERNS_CREATE,
PATTERNS_MODIFY,
PATTERNS_DELETE,
PATTERNS_INCLUDE,
);
}