Functions

NameLocationsort iconDescription
block_example_blockcontributions/ docs/ developer/ examples/ block_example.moduleImplementation of hook_block().
block_example_contentscontributions/ docs/ developer/ examples/ block_example.moduleA block content function.
example_element_menucontributions/ docs/ developer/ examples/ example_element.moduleImplementation of hook_menu().
example_element_elementscontributions/ docs/ developer/ examples/ example_element.moduleImplementation of hook_elements().
example_element_expandcontributions/ docs/ developer/ examples/ example_element.moduleOur process callback to expand the control.
example_element_validatecontributions/ docs/ developer/ examples/ example_element.moduleOur element's validation function.
theme_phonenumbercontributions/ docs/ developer/ examples/ example_element.moduleTheme function to format the output.
example_element_democontributions/ docs/ developer/ examples/ example_element.moduleThis is a simple form to demonstrate how to use the phonenumber form element we defined.
fileupload_menucontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_menu.
fileupload_permcontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_perm.
fileupload_helpcontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_help.
fileupload_node_infocontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_node_info.
fileupload_accesscontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_access.
fileupload_file_downloadcontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_file_download.
fileupload_viewcontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_view.
fileupload_formcontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_form().
fileupload_validatecontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_validate().
fileupload_executecontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_execute().
fileupload_loadcontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_load().
fileupload_insertcontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_insert().
fileupload_updatecontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_update().
fileupload_deletecontributions/ docs/ developer/ examples/ fileupload.moduleImplementation of hook_delete().
filter_example_filter_tipscontributions/ docs/ developer/ examples/ filter_example.moduleImplementation of hook_filter_tips().
filter_example_filtercontributions/ docs/ developer/ examples/ filter_example.moduleImplementation of hook_filter().
multipage_form_example_helpcontributions/ docs/ developer/ examples/ multipage_form_example.moduleImplementation of hook_help().
multipage_form_example_menucontributions/ docs/ developer/ examples/ multipage_form_example.moduleImplementation of hook_menu().
multipage_form_example_accesscontributions/ docs/ developer/ examples/ multipage_form_example.moduleImplementation of hook_access().
multipage_form_example_node_infocontributions/ docs/ developer/ examples/ multipage_form_example.moduleImplementation of hook_node_info().
multipage_form_example_formcontributions/ docs/ developer/ examples/ multipage_form_example.moduleImplementation of hook_form() for multipage_form_example. We don't set ANY #required attributes here - we leave that up to multipage_form_example_pre_render().
multipage_form_example_form_altercontributions/ docs/ developer/ examples/ multipage_form_example.moduleImplementation of hook_form_alter(). Here, we set up the 'page' field, which keeps track of what stage the form is in.
multipage_form_example_custom_validatecontributions/ docs/ developer/ examples/ multipage_form_example.moduleValidate our form.
multipage_form_example_pre_rendercontributions/ docs/ developer/ examples/ multipage_form_example.moduleThe #pre_render of a form allows us to make changes AFTER validation (unlike hook_form_alter()), but BEFORE the form has actually been displayed. We use it to control which form elements are shown, which are hidden, and which values to set based on...
multipage_form_example_loadcontributions/ docs/ developer/ examples/ multipage_form_example.moduleImplementation of hook_load().
multipage_form_example_deletecontributions/ docs/ developer/ examples/ multipage_form_example.moduleImplementation of hook_delete().
multipage_form_example_viewcontributions/ docs/ developer/ examples/ multipage_form_example.moduleImplementation of hook_view().
theme_multipage_form_examplecontributions/ docs/ developer/ examples/ multipage_form_example.moduleA custom theme function.
multipage_form_set_element_visibilitycontributions/ docs/ developer/ examples/ multipage_form_example.moduleSet an element's visibility. Elements are gnerally changed to hidden elements. Visibility may be set and reset any number of times.
multipage_form_set_attributecontributions/ docs/ developer/ examples/ multipage_form_example.moduleSet an attribute on an element array with storing the previous value which may be reverted to using multipage_form_restore_attributes().
multipage_form_restore_attributescontributions/ docs/ developer/ examples/ multipage_form_example.moduleRestore any form attributes which have been set using multipage_form_set_attribute().
multipage_form_example_elementscontributions/ docs/ developer/ examples/ multipage_form_example.modulePlaying around here with a new form element to enable storing hidden values in an array fashion. Seems to work fine. Check out $form['test_hidden_array'] above for how to structure the form element
theme_multipage_form_example_node_formcontributions/ docs/ developer/ examples/ multipage_form_example.module
multipage_form_example_custom_submitcontributions/ docs/ developer/ examples/ multipage_form_example.module
expand_hidden_arraycontributions/ docs/ developer/ examples/ multipage_form_example.module
theme_hidden_arraycontributions/ docs/ developer/ examples/ multipage_form_example.module
nodeapi_example_installcontributions/ docs/ developer/ examples/ nodeapi_example.installImplementation of hook_install().
nodeapi_example_uninstallcontributions/ docs/ developer/ examples/ nodeapi_example.installImplementation of hook_uninstall().
nodeapi_example_update_1contributions/ docs/ developer/ examples/ nodeapi_example.install
nodeapi_example_form_altercontributions/ docs/ developer/ examples/ nodeapi_example.moduleImplementation of hook_form_alter().
nodeapi_example_nodeapicontributions/ docs/ developer/ examples/ nodeapi_example.moduleImplementation of hook_nodeapi().
theme_nodeapi_example_ratingcontributions/ docs/ developer/ examples/ nodeapi_example.moduleA custom theme function.