|
|
Drupal example source code file (search.views_convert.inc)
The search.views_convert.inc Drupal example source code<?php // $Id: search.views_convert.inc,v 1.2 2009/06/30 19:14:27 merlinofchaos Exp $ /** * @file * Field conversion for fields handled by this module. */ function search_views_convert($display, $type, &$view, $field, $id = NULL) { switch ($type) { case 'filter': switch ($field['tablename']) { case 'temp_search_results': switch ($field['field']) { case 'word': $view->set_item_option($display, 'filter', $id, 'table', 'search_index'); $view->set_item_option($display, 'filter', $id, 'field', 'keys'); break; } break; } break; } } Other Drupal examples (source code examples)Here is a short list of links related to this Drupal search.views_convert.inc source code file: |
"Drupal" is a registered trademark of Dries Buytaert.
my drupal tutorials and examples
Copyright
1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.
Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.