public static function SuggestionStorage::getSrcOptions in Autocomplete Search Suggestions 7
Build an array of source options.
Return value
array An array of source options.
3 calls to SuggestionStorage::getSrcOptions()
- SuggestionHelper::srcBits in src/
SuggestionHelper.php - Build an array of defalut options from bitmaps.
- suggestion_admin_edit_form in ./
suggestion.admin.inc - Menu callback to index suggestions.
- suggestion_admin_search_form in ./
suggestion.admin.inc - Menu callback to index suggestions.
File
- src/
SuggestionStorage.php, line 185 - CRUD methods for the suggestion module.
Class
- SuggestionStorage
- Database CRUD.
Code
public static function getSrcOptions() {
return array(
self::DISABLED_BIT => t('Disabled'),
self::CONTENT_BIT => t('Content'),
self::SURFER_BIT => t('Surfer'),
self::PRIORITY_BIT => t('Priority'),
);
}