'text', 'title' => t('Custom page title', array(), $options), 'default' => t('Page not found', array(), $options), 'description' => t('You can enter a value that will displayed at the title of the webpage e.g. "Page not found".', array(), $options), 'group' => 'search404' ); $variables['advanced']['search404_page_text'] = array( 'type' => 'text', 'title' => t('Custom page text', array(), $options), 'default' => t('The URL you requested does not exist. For your convenience, a search was performed using the URL query and you were delivered a great 404 message.', array(), $options), 'description' => t('You can enter a custom text message that can be displayed at the top of the search results, HTML formatting can be used.', array(), $options), 'group' => 'search404' ); $variables['advanced']['search404_ignore'] = array( 'type' => 'text', 'title' => t('Words to ignore', array(), $options), 'default' => t('and or the', array(), $options), 'description' => t('These words will be ignored from the search query. Separate words with a space, e.g.: "and or the".', array(), $options), 'group' => 'search404' ); return $variables; } /** * Implements hook_variable_group_info(). */ function search404_variable_group_info() { $groups['search404'] = array( 'title' => t('Search 404 settings'), 'description' => t('Search 404 settings'), 'access' => 'administer search404', 'path' => 'admin/config/search/search404', ); return $groups; }