This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
forked from nigelgbanks/islandora_autocomplete
islandora-deprecated/islandora_autocomplete
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Islandora Auto-complete allows users to define auto-complete URL's to be used in a Drupal forms in conjuction with the #autocomplete property of form elements. HOOK_delete_autocomplete_url($id) Notifies modules that an autcomplete url is being deleted so they may perform any clean up needed. HOOK_register_autocomplete_source() Registers an autocomplete source. Used to load a source settings form from the module. Returns an array like so, array( 'type' => 'machine readable name of source', 'label' => 'human readable name of source', 'module' => 'module anem', 'form' => array( // Describes where the source form is defined. 'type' => 'file type', 'file' => 'file' ), ) HOOK_form HOOK_form_validate HOOK_form_submit Defines/Validates/Submits the source section of the form, just like any Drupal form. islandora_autocomplete_url_query_HOOK($id, $query, $index) In this case the HOOK is equal to the type as returned by the modules implementation of register_autocomplete_source()
About
Allows for autcompletion
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- PHP 60.1%
- JavaScript 39.9%