You are here

function _supersized_context_autocomplete in Supersized 7

Same name and namespace in other branches
  1. 8 supersized_context/supersized_context.module \_supersized_context_autocomplete()

A helper function for autocomplete.

1 call to _supersized_context_autocomplete()
supersized_context_autocomplete in supersized_context/supersized_context.module
Page callback for autocomplete.

File

supersized_context/supersized_context.module, line 99
Supersized context module file.

Code

function _supersized_context_autocomplete($string) {
  $output = array();
  if (!$string) {
    return $output;
  }
  $nodes = supersized_context_autocomplete_nodes($string);
  return $nodes;
}