function theme_rdfui_term_autocomplete in RDF Extensions 7.2
Returns HTML for a term.
Parameters
$term: An associative array containing:
- term: A render element representing the term.
- curie: The term's compact URI.
- label: The term's human readable label.
- comment: A description of the term.
2 theme calls to theme_rdfui_term_autocomplete()
- rdfui_classes_autocomplete in rdfui/
rdfui.module - Menu callback for classes autocomplete
- rdfui_predicates_autocomplete in rdfui/
rdfui.module - Menu callback for predicates autocomplete
File
- rdfui/
rdfui.module, line 612
Code
function theme_rdfui_term_autocomplete($variables) {
$term = $variables['term'];
$output = '<div class="form-item rdf-term-autocomplete">';
$output .= $term->curie . ' ';
$output .= '<p class="rdf-comment-autocomplete">' . $term->comment . '</p>';
$output .= '</div>';
return $output;
}