├── Commands
├── Coder format.tmCommand
├── Content type.tmCommand
├── Create snippet.tmCommand
├── Documentation for theme('hook').tmCommand
├── Drupal_behaviors.tmCommand
├── Extras.tmCommand
├── Fields container.tmCommand
├── Forms API: button.tmCommand
├── Forms API: checkbox.tmCommand
├── Forms API: checkboxes.tmCommand
├── Forms API: element_action.tmCommand
├── Forms API: element_after_build.tmCommand
├── Forms API: element_attributes.tmCommand
├── Forms API: element_autocomplete_path.tmCommand
├── Forms API: element_button_type.tmCommand
├── Forms API: element_collapsed.tmCommand
├── Forms API: element_collapsible.tmCommand
├── Forms API: element_cols.tmCommand
├── Forms API: element_default_value.tmCommand
├── Forms API: element_delta.tmCommand
├── Forms API: element_description.tmCommand
├── Forms API: element_field_prefix.tmCommand
├── Forms API: element_field_suffix.tmCommand
├── Forms API: element_maxlength.tmCommand
├── Forms API: element_method.tmCommand
├── Forms API: element_multiple.tmCommand
├── Forms API: element_options.tmCommand
├── Forms API: element_parents.tmCommand
├── Forms API: element_prefix.tmCommand
├── Forms API: element_redirect.tmCommand
├── Forms API: element_required.tmCommand
├── Forms API: element_return_value.tmCommand
├── Forms API: element_rows.tmCommand
├── Forms API: element_size.tmCommand
├── Forms API: element_submit.tmCommand
├── Forms API: element_suffix.tmCommand
├── Forms API: element_theme.tmCommand
├── Forms API: element_title.tmCommand
├── Forms API: element_tree.tmCommand
├── Forms API: element_validate.tmCommand
├── Forms API: element_value.tmCommand
├── Forms API: element_weight.tmCommand
├── Forms API: fieldset.tmCommand
├── Forms API: file.tmCommand
├── Forms API: hidden.tmCommand
├── Forms API: item.tmCommand
├── Forms API: markup.tmCommand
├── Forms API: password.tmCommand
├── Forms API: radio.tmCommand
├── Forms API: radios.tmCommand
├── Forms API: select.tmCommand
├── Forms API: submit.tmCommand
├── Forms API: textarea.tmCommand
├── Forms API: textfield.tmCommand
├── Forms API: value.tmCommand
├── Forms API: weight.tmCommand
├── Help 2.tmCommand
├── Help.tmCommand
├── Hook Completion.tmCommand
├── Menu item.tmCommand
├── Reference jQuery as $.tmCommand
├── Textfield.tmCommand
├── Unit test skeleton.tmCommand
├── Web test skeleton.tmCommand
├── Wrap docblock at 80 characters.tmCommand
├── Wrap selection in placeholder.tmCommand
├── api_drupal_org.tmCommand
├── drupal_get_path.tmCommand
├── hook_access.tmCommand
├── hook_action_info.tmCommand
├── hook_action_info_alter.tmCommand
├── hook_actions_delete.tmCommand
├── hook_admin_paths.tmCommand
├── hook_admin_paths_alter.tmCommand
├── hook_aggregator_fetch.tmCommand
├── hook_aggregator_fetch_info.tmCommand
├── hook_aggregator_parse.tmCommand
├── hook_aggregator_parse_info.tmCommand
├── hook_aggregator_process.tmCommand
├── hook_aggregator_process_info.tmCommand
├── hook_aggregator_remove.tmCommand
├── hook_ajax_render_alter.tmCommand
├── hook_archiver_info.tmCommand
├── hook_archiver_info_alter.tmCommand
├── hook_batch_alter.tmCommand
├── hook_block.tmCommand
├── hook_block_configure.tmCommand
├── hook_block_info.tmCommand
├── hook_block_info_alter.tmCommand
├── hook_block_list_alter.tmCommand
├── hook_block_save.tmCommand
├── hook_block_view.tmCommand
├── hook_block_view_MODULE_DELTA_alter.tmCommand
├── hook_block_view_alter.tmCommand
├── hook_boot.tmCommand
├── hook_comment.tmCommand
├── hook_comment_delete.tmCommand
├── hook_comment_insert.tmCommand
├── hook_comment_load.tmCommand
├── hook_comment_presave.tmCommand
├── hook_comment_publish.tmCommand
├── hook_comment_unpublish.tmCommand
├── hook_comment_update.tmCommand
├── hook_comment_view.tmCommand
├── hook_comment_view_alter.tmCommand
├── hook_contextual_links_view_alter.tmCommand
├── hook_countries_alter.tmCommand
├── hook_cron.tmCommand
├── hook_cron_queue_info.tmCommand
├── hook_cron_queue_info_alter.tmCommand
├── hook_css_alter.tmCommand
├── hook_custom_theme.tmCommand
├── hook_dashboard_regions.tmCommand
├── hook_dashboard_regions_alter.tmCommand
├── hook_date_format_types.tmCommand
├── hook_date_format_types_alter.tmCommand
├── hook_date_formats.tmCommand
├── hook_date_formats_alter.tmCommand
├── hook_db_rewrite_sql.tmCommand
├── hook_delete.tmCommand
├── hook_disable.tmCommand
├── hook_drupal_goto_alter.tmCommand
├── hook_element_info.tmCommand
├── hook_element_info_alter.tmCommand
├── hook_elements.tmCommand
├── hook_enable.tmCommand
├── hook_entity_delete.tmCommand
├── hook_entity_info.tmCommand
├── hook_entity_info_alter.tmCommand
├── hook_entity_insert.tmCommand
├── hook_entity_load.tmCommand
├── hook_entity_prepare_view.tmCommand
├── hook_entity_presave.tmCommand
├── hook_entity_query_alter.tmCommand
├── hook_entity_update.tmCommand
├── hook_entity_view.tmCommand
├── hook_entity_view_alter.tmCommand
├── hook_exit.tmCommand
├── hook_field_access.tmCommand
├── hook_field_attach_create_bundle.tmCommand
├── hook_field_attach_delete.tmCommand
├── hook_field_attach_delete_bundle.tmCommand
├── hook_field_attach_delete_revision.tmCommand
├── hook_field_attach_form.tmCommand
├── hook_field_attach_insert.tmCommand
├── hook_field_attach_load.tmCommand
├── hook_field_attach_prepare_translation_alter.tmCommand
├── hook_field_attach_preprocess_alter.tmCommand
├── hook_field_attach_presave.tmCommand
├── hook_field_attach_purge.tmCommand
├── hook_field_attach_rename_bundle.tmCommand
├── hook_field_attach_submit.tmCommand
├── hook_field_attach_update.tmCommand
├── hook_field_attach_validate.tmCommand
├── hook_field_attach_view_alter.tmCommand
├── hook_field_available_languages_alter.tmCommand
├── hook_field_create_field.tmCommand
├── hook_field_create_instance.tmCommand
├── hook_field_delete.tmCommand
├── hook_field_delete_field.tmCommand
├── hook_field_delete_instance.tmCommand
├── hook_field_delete_revision.tmCommand
├── hook_field_display_ENTITY_TYPE_alter.tmCommand
├── hook_field_display_alter.tmCommand
├── hook_field_extra_fields.tmCommand
├── hook_field_extra_fields_alter.tmCommand
├── hook_field_extra_fields_display_alter.tmCommand
├── hook_field_formatter_info.tmCommand
├── hook_field_formatter_info_alter.tmCommand
├── hook_field_formatter_prepare_view.tmCommand
├── hook_field_formatter_settings_form.tmCommand
├── hook_field_formatter_settings_summary.tmCommand
├── hook_field_formatter_view.tmCommand
├── hook_field_info.tmCommand
├── hook_field_info_alter.tmCommand
├── hook_field_info_max_weight.tmCommand
├── hook_field_insert.tmCommand
├── hook_field_instance_settings_form.tmCommand
├── hook_field_is_empty.tmCommand
├── hook_field_language_alter.tmCommand
├── hook_field_load.tmCommand
├── hook_field_prepare_translation.tmCommand
├── hook_field_prepare_view.tmCommand
├── hook_field_presave.tmCommand
├── hook_field_purge_field.tmCommand
├── hook_field_purge_field_instance.tmCommand
├── hook_field_read_field.tmCommand
├── hook_field_read_instance.tmCommand
├── hook_field_schema.tmCommand
├── hook_field_settings_form.tmCommand
├── hook_field_storage_create_field.tmCommand
├── hook_field_storage_delete.tmCommand
├── hook_field_storage_delete_field.tmCommand
├── hook_field_storage_delete_instance.tmCommand
├── hook_field_storage_delete_revision.tmCommand
├── hook_field_storage_details.tmCommand
├── hook_field_storage_details_alter.tmCommand
├── hook_field_storage_info.tmCommand
├── hook_field_storage_info_alter.tmCommand
├── hook_field_storage_load.tmCommand
├── hook_field_storage_pre_insert.tmCommand
├── hook_field_storage_pre_load.tmCommand
├── hook_field_storage_pre_update.tmCommand
├── hook_field_storage_purge.tmCommand
├── hook_field_storage_purge_field.tmCommand
├── hook_field_storage_purge_field_instance.tmCommand
├── hook_field_storage_query.tmCommand
├── hook_field_storage_update_field.tmCommand
├── hook_field_storage_write.tmCommand
├── hook_field_update.tmCommand
├── hook_field_update_field.tmCommand
├── hook_field_update_forbid.tmCommand
├── hook_field_update_instance.tmCommand
├── hook_field_validate.tmCommand
├── hook_field_widget_error.tmCommand
├── hook_field_widget_form.tmCommand
├── hook_field_widget_info.tmCommand
├── hook_field_widget_info_alter.tmCommand
├── hook_field_widget_properties_ENTITY_TYPE_alter.tmCommand
├── hook_field_widget_properties_alter.tmCommand
├── hook_field_widget_settings_form.tmCommand
├── hook_file_copy.tmCommand
├── hook_file_delete.tmCommand
├── hook_file_download.tmCommand
├── hook_file_download_access.tmCommand
├── hook_file_download_access_alter.tmCommand
├── hook_file_insert.tmCommand
├── hook_file_load.tmCommand
├── hook_file_mimetype_mapping_alter.tmCommand
├── hook_file_move.tmCommand
├── hook_file_presave.tmCommand
├── hook_file_update.tmCommand
├── hook_file_url_alter.tmCommand
├── hook_file_validate.tmCommand
├── hook_filetransfer_info.tmCommand
├── hook_filetransfer_info_alter.tmCommand
├── hook_filter.tmCommand
├── hook_filter_FILTER_prepare.tmCommand
├── hook_filter_FILTER_process.tmCommand
├── hook_filter_FILTER_settings.tmCommand
├── hook_filter_FILTER_tips.tmCommand
├── hook_filter_format_disable.tmCommand
├── hook_filter_format_insert.tmCommand
├── hook_filter_format_update.tmCommand
├── hook_filter_info.tmCommand
├── hook_filter_info_alter.tmCommand
├── hook_filter_tips.tmCommand
├── hook_flush_caches.tmCommand
├── hook_footer.tmCommand
├── hook_form.tmCommand
├── hook_form_BASE_FORM_ID_alter.tmCommand
├── hook_form_FORM_ID_alter.tmCommand
├── hook_form_alter.tmCommand
├── hook_form_system_theme_settings_alter.tmCommand
├── hook_forms.tmCommand
├── hook_help.tmCommand
├── hook_hook_info.tmCommand
├── hook_hook_info_alter.tmCommand
├── hook_html_head_alter.tmCommand
├── hook_image_default_styles.tmCommand
├── hook_image_effect_info.tmCommand
├── hook_image_effect_info_alter.tmCommand
├── hook_image_style_delete.tmCommand
├── hook_image_style_flush.tmCommand
├── hook_image_style_save.tmCommand
├── hook_image_styles_alter.tmCommand
├── hook_image_toolkits.tmCommand
├── hook_init.tmCommand
├── hook_insert.tmCommand
├── hook_install.tmCommand
├── hook_install_tasks.tmCommand
├── hook_install_tasks_alter.tmCommand
├── hook_js_alter.tmCommand
├── hook_language_fallback_candidates_alter.tmCommand
├── hook_language_init.tmCommand
├── hook_language_negotiation_info.tmCommand
├── hook_language_negotiation_info_alter.tmCommand
├── hook_language_switch_links_alter.tmCommand
├── hook_language_types_info.tmCommand
├── hook_language_types_info_alter.tmCommand
├── hook_library.tmCommand
├── hook_library_alter.tmCommand
├── hook_link.tmCommand
├── hook_link_alter.tmCommand
├── hook_load.tmCommand
├── hook_locale.tmCommand
├── hook_mail.tmCommand
├── hook_mail_alter.tmCommand
├── hook_menu.tmCommand
├── hook_menu_alter.tmCommand
├── hook_menu_breadcrumb_alter.tmCommand
├── hook_menu_contextual_links_alter.tmCommand
├── hook_menu_delete.tmCommand
├── hook_menu_get_item_alter.tmCommand
├── hook_menu_insert.tmCommand
├── hook_menu_link_alter.tmCommand
├── hook_menu_link_delete.tmCommand
├── hook_menu_link_insert.tmCommand
├── hook_menu_link_update.tmCommand
├── hook_menu_local_tasks_alter.tmCommand
├── hook_menu_site_status_alter.tmCommand
├── hook_menu_update.tmCommand
├── hook_module_implements_alter.tmCommand
├── hook_modules_disabled.tmCommand
├── hook_modules_enabled.tmCommand
├── hook_modules_installed.tmCommand
├── hook_modules_uninstalled.tmCommand
├── hook_multilingual_settings_changed.tmCommand
├── hook_node_access.tmCommand
├── hook_node_access_records.tmCommand
├── hook_node_access_records_alter.tmCommand
├── hook_node_delete.tmCommand
├── hook_node_grants.tmCommand
├── hook_node_grants_alter.tmCommand
├── hook_node_info.tmCommand
├── hook_node_insert.tmCommand
├── hook_node_load.tmCommand
├── hook_node_operations.tmCommand
├── hook_node_prepare.tmCommand
├── hook_node_presave.tmCommand
├── hook_node_revision_delete.tmCommand
├── hook_node_search_result.tmCommand
├── hook_node_submit.tmCommand
├── hook_node_type.tmCommand
├── hook_node_type_delete.tmCommand
├── hook_node_type_insert.tmCommand
├── hook_node_type_update.tmCommand
├── hook_node_update.tmCommand
├── hook_node_update_index.tmCommand
├── hook_node_validate.tmCommand
├── hook_node_view.tmCommand
├── hook_node_view_alter.tmCommand
├── hook_nodeapi.tmCommand
├── hook_openid.tmCommand
├── hook_openid_discovery_method_info.tmCommand
├── hook_openid_discovery_method_info_alter.tmCommand
├── hook_openid_normalization_method_info.tmCommand
├── hook_openid_normalization_method_info_alter.tmCommand
├── hook_openid_response.tmCommand
├── hook_options_list.tmCommand
├── hook_overlay_child_initialize.tmCommand
├── hook_overlay_parent_initialize.tmCommand
├── hook_page_alter.tmCommand
├── hook_page_build.tmCommand
├── hook_page_delivery_callback_alter.tmCommand
├── hook_path_delete.tmCommand
├── hook_path_insert.tmCommand
├── hook_path_update.tmCommand
├── hook_perm.tmCommand
├── hook_permission.tmCommand
├── hook_ping.tmCommand
├── hook_prepare.tmCommand
├── hook_preprocess.tmCommand
├── hook_preprocess_HOOK.tmCommand
├── hook_process.tmCommand
├── hook_process_HOOK.tmCommand
├── hook_profile_alter.tmCommand
├── hook_query_TAG_alter.tmCommand
├── hook_query_alter.tmCommand
├── hook_ranking.tmCommand
├── hook_rdf_mapping.tmCommand
├── hook_rdf_namespaces.tmCommand
├── hook_registry_files_alter.tmCommand
├── hook_requirements.tmCommand
├── hook_schema.tmCommand
├── hook_schema_alter.tmCommand
├── hook_search.tmCommand
├── hook_search_access.tmCommand
├── hook_search_admin.tmCommand
├── hook_search_execute.tmCommand
├── hook_search_info.tmCommand
├── hook_search_page.tmCommand
├── hook_search_preprocess.tmCommand
├── hook_search_reset.tmCommand
├── hook_search_status.tmCommand
├── hook_shortcut_default_set.tmCommand
├── hook_simpletest_alter.tmCommand
├── hook_stream_wrappers.tmCommand
├── hook_stream_wrappers_alter.tmCommand
├── hook_strongarm.tmCommand
├── hook_system_info_alter.tmCommand
├── hook_system_themes_page_alter.tmCommand
├── hook_taxonomy.tmCommand
├── hook_taxonomy_term_delete.tmCommand
├── hook_taxonomy_term_insert.tmCommand
├── hook_taxonomy_term_load.tmCommand
├── hook_taxonomy_term_presave.tmCommand
├── hook_taxonomy_term_update.tmCommand
├── hook_taxonomy_term_view_alter.tmCommand
├── hook_taxonomy_vocabulary_delete.tmCommand
├── hook_taxonomy_vocabulary_insert.tmCommand
├── hook_taxonomy_vocabulary_load.tmCommand
├── hook_taxonomy_vocabulary_presave.tmCommand
├── hook_taxonomy_vocabulary_update.tmCommand
├── hook_term_path.tmCommand
├── hook_test_finished.tmCommand
├── hook_test_group_finished.tmCommand
├── hook_test_group_started.tmCommand
├── hook_theme.tmCommand
├── hook_theme_registry_alter.tmCommand
├── hook_themes_disabled.tmCommand
├── hook_themes_enabled.tmCommand
├── hook_token_info.tmCommand
├── hook_token_info_alter.tmCommand
├── hook_tokens.tmCommand
├── hook_tokens_alter.tmCommand
├── hook_translated_menu_link_alter.tmCommand
├── hook_translation_link_alt.tmCommand
├── hook_trigger_info.tmCommand
├── hook_trigger_info_alter.tmCommand
├── hook_uninstall.tmCommand
├── hook_update.tmCommand
├── hook_update_N.tmCommand
├── hook_update_dependencies.tmCommand
├── hook_update_index.tmCommand
├── hook_update_last_removed.tmCommand
├── hook_update_projects_alter.tmCommand
├── hook_update_status_alter.tmCommand
├── hook_updater_info.tmCommand
├── hook_updater_info_alter.tmCommand
├── hook_url_inbound_alter.tmCommand
├── hook_url_outbound_alter.tmCommand
├── hook_user.tmCommand
├── hook_user_cancel.tmCommand
├── hook_user_cancel_methods_alter.tmCommand
├── hook_user_categories.tmCommand
├── hook_user_delete.tmCommand
├── hook_user_insert.tmCommand
├── hook_user_load.tmCommand
├── hook_user_login.tmCommand
├── hook_user_logout.tmCommand
├── hook_user_operations.tmCommand
├── hook_user_presave.tmCommand
├── hook_user_role_delete.tmCommand
├── hook_user_role_insert.tmCommand
├── hook_user_role_update.tmCommand
├── hook_user_update.tmCommand
├── hook_user_view.tmCommand
├── hook_user_view_alter.tmCommand
├── hook_username_alter.tmCommand
├── hook_validate.tmCommand
├── hook_verify_update_archive.tmCommand
├── hook_view.tmCommand
├── hook_views_admin_links_alter.tmCommand
├── hook_views_api.tmCommand
├── hook_views_convert.tmCommand
├── hook_views_data.tmCommand
├── hook_views_data_alter.tmCommand
├── hook_views_default_views.tmCommand
├── hook_views_default_views_alter.tmCommand
├── hook_views_handlers.tmCommand
├── hook_views_plugins.tmCommand
├── hook_views_post_render.tmCommand
├── hook_views_pre_build.tmCommand
├── hook_views_pre_execute.tmCommand
├── hook_views_pre_render.tmCommand
├── hook_views_pre_view.tmCommand
├── hook_views_preview_info_alter.tmCommand
├── hook_views_query_alter.tmCommand
├── hook_views_query_substitutions.tmCommand
├── hook_watchdog.tmCommand
├── hook_xmlrpc.tmCommand
├── hook_xmlrpc_alter.tmCommand
├── schema.tmCommand
├── schema_field.tmCommand
├── template_preprocess_comment.tmCommand
├── template_preprocess_node 2.tmCommand
├── template_preprocess_node.tmCommand
├── template_preprocess_node.tmDelta
├── template_preprocess_page.tmCommand
├── theme_admin_block.tmCommand
├── theme_admin_block_content.tmCommand
├── theme_admin_menu_links.tmCommand
├── theme_admin_page.tmCommand
├── theme_aggregator_block_item.tmCommand
├── theme_aggregator_categorize_items.tmCommand
├── theme_aggregator_page_opml.tmCommand
├── theme_aggregator_page_rss.tmCommand
├── theme_block.tmCommand
├── theme_blocks.tmCommand
├── theme_book_admin_table.tmCommand
├── theme_book_title_link.tmCommand
├── theme_box.tmCommand
├── theme_breadcrumb.tmCommand
├── theme_button.tmCommand
├── theme_checkbox.tmCommand
├── theme_checkboxes.tmCommand
├── theme_closure.tmCommand
├── theme_color_scheme_form.tmCommand
├── theme_comment_block.tmCommand
├── theme_comment_post_forbidden.tmCommand
├── theme_common_test_foo.tmCommand
├── theme_confirm_form.tmCommand
├── theme_container.tmCommand
├── theme_dashboard.tmCommand
├── theme_dashboard_admin.tmCommand
├── theme_dashboard_disabled_block.tmCommand
├── theme_dashboard_disabled_blocks.tmCommand
├── theme_dashboard_region.tmCommand
├── theme_date.tmCommand
├── theme_dblog_filters.tmCommand
├── theme_dblog_message.tmCommand
├── theme_devel_querylog.tmCommand
├── theme_devel_querylog_row.tmCommand
├── theme_disable.tmCommand
├── theme_enable.tmCommand
├── theme_exposed_filters.tmCommand
├── theme_feed_icon.tmCommand
├── theme_field.tmCommand
├── theme_field_multiple_value_form.tmCommand
├── theme_field_ui_table.tmCommand
├── theme_fieldset.tmCommand
├── theme_file.tmCommand
├── theme_file_formatter_table.tmCommand
├── theme_file_icon.tmCommand
├── theme_file_link.tmCommand
├── theme_file_managed_file.tmCommand
├── theme_file_upload_help.tmCommand
├── theme_file_widget.tmCommand
├── theme_file_widget_multiple.tmCommand
├── theme_filter_admin_format_filter_order.tmCommand
├── theme_filter_admin_overview.tmCommand
├── theme_filter_guidelines.tmCommand
├── theme_filter_tips.tmCommand
├── theme_filter_tips_more_info.tmCommand
├── theme_form.tmCommand
├── theme_form_element.tmCommand
├── theme_form_element_label.tmCommand
├── theme_form_required_marker.tmCommand
├── theme_forum_form.tmCommand
├── theme_get_registry.tmCommand
├── theme_get_setting.tmCommand
├── theme_get_suggestions.tmCommand
├── theme_help.tmCommand
├── theme_hidden.tmCommand
├── theme_html_tag.tmCommand
├── theme_image.tmCommand
├── theme_image_anchor.tmCommand
├── theme_image_button.tmCommand
├── theme_image_crop_summary.tmCommand
├── theme_image_formatter.tmCommand
├── theme_image_resize_summary.tmCommand
├── theme_image_rotate_summary.tmCommand
├── theme_image_scale_summary.tmCommand
├── theme_image_style.tmCommand
├── theme_image_style_effects.tmCommand
├── theme_image_style_list.tmCommand
├── theme_image_style_preview.tmCommand
├── theme_image_widget.tmCommand
├── theme_indentation.tmCommand
├── theme_item.tmCommand
├── theme_item_list.tmCommand
├── theme_link.tmCommand
├── theme_links.tmCommand
├── theme_locale_date_format_form.tmCommand
├── theme_locale_languages_configure_form.tmCommand
├── theme_locale_languages_overview_form.tmCommand
├── theme_maintenance_page.tmCommand
├── theme_mark.tmCommand
├── theme_markup.tmCommand
├── theme_menu_admin_overview.tmCommand
├── theme_menu_item.tmCommand
├── theme_menu_item_link.tmCommand
├── theme_menu_link.tmCommand
├── theme_menu_links.tmCommand
├── theme_menu_local_action.tmCommand
├── theme_menu_local_task.tmCommand
├── theme_menu_local_tasks.tmCommand
├── theme_menu_overview_form.tmCommand
├── theme_menu_tree.tmCommand
├── theme_more_help_link.tmCommand
├── theme_more_link.tmCommand
├── theme_node_add_list.tmCommand
├── theme_node_admin_overview.tmCommand
├── theme_node_list.tmCommand
├── theme_node_log_message.tmCommand
├── theme_node_preview.tmCommand
├── theme_node_recent_block.tmCommand
├── theme_node_recent_content.tmCommand
├── theme_node_search_admin.tmCommand
├── theme_node_submitted.tmCommand
├── theme_options_none.tmCommand
├── theme_overlay_disable_message.tmCommand
├── theme_page.tmCommand
├── theme_pager.tmCommand
├── theme_pager_first.tmCommand
├── theme_pager_last.tmCommand
├── theme_pager_link.tmCommand
├── theme_pager_next.tmCommand
├── theme_pager_previous.tmCommand
├── theme_password.tmCommand
├── theme_password_confirm.tmCommand
├── theme_placeholder.tmCommand
├── theme_poll_choices.tmCommand
├── theme_profile_admin_overview.tmCommand
├── theme_progress_bar.tmCommand
├── theme_radio.tmCommand
├── theme_radios.tmCommand
├── theme_rdf_metadata.tmCommand
├── theme_rdf_template_variable_wrapper.tmCommand
├── theme_render_template.tmCommand
├── theme_select.tmCommand
├── theme_shortcut_set_customize.tmCommand
├── theme_simpletest_result_summary.tmCommand
├── theme_simpletest_test_table.tmCommand
├── theme_status_messages.tmCommand
├── theme_status_report.tmCommand
├── theme_submenu.tmCommand
├── theme_submit.tmCommand
├── theme_system_admin_index.tmCommand
├── theme_system_compact_link.tmCommand
├── theme_system_date_time_settings.tmCommand
├── theme_system_modules_fieldset.tmCommand
├── theme_system_modules_incompatible.tmCommand
├── theme_system_modules_uninstall.tmCommand
├── theme_system_powered_by.tmCommand
├── theme_system_settings_form.tmCommand
├── theme_system_themes_page.tmCommand
├── theme_table.tmCommand
├── theme_table_select_header_cell.tmCommand
├── theme_tableselect.tmCommand
├── theme_tablesort_indicator.tmCommand
├── theme_taxonomy_overview_terms.tmCommand
├── theme_taxonomy_overview_vocabularies.tmCommand
├── theme_taxonomy_term_page.tmCommand
├── theme_taxonomy_term_select.tmCommand
├── theme_textarea.tmCommand
├── theme_textfield.tmCommand
├── theme_token.tmCommand
├── theme_toolbar_toggle.tmCommand
├── theme_trigger_display.tmCommand
├── theme_update_last_check.tmCommand
├── theme_update_manager_update_form.tmCommand
├── theme_update_report.tmCommand
├── theme_update_status_label.tmCommand
├── theme_update_version.tmCommand
├── theme_user_admin_permissions.tmCommand
├── theme_user_admin_roles.tmCommand
├── theme_user_list.tmCommand
├── theme_user_permission_description.tmCommand
├── theme_user_signature.tmCommand
├── theme_username.tmCommand
├── theme_vertical_tabs.tmCommand
└── theme_xml_icon.tmCommand
├── README.md
├── Snippets
├── $fields['field_name']-content.tmSnippet
├── $node-content['body']['#value'];.tmSnippet
├── $node-field_[name][0]['view'];.tmSnippet
├── Convert to $variables.tmSnippet
├── Print basename.tmSnippet
├── Query and iterate.tmSnippet
├── Regions 6_x.tmSnippet
├── Regions 7_x.tmSnippet
├── ddebug_backtrace.tmSnippet
├── debug.tmSnippet
├── dpm 2.tmSnippet
├── dpm.tmSnippet
├── dpm_once.tmSnippet
├── dpr 2.tmSnippet
├── dpr.tmSnippet
├── drupal_set_message 2.tmSnippet
├── drupal_set_message.tmSnippet
├── drush_print_r.tmSnippet
├── dvm 2.tmSnippet
├── dvm.tmSnippet
├── dvr 2.tmSnippet
├── dvr.tmSnippet
├── hide.tmSnippet
├── if node 2.tmSnippet
├── if node.tmSnippet
├── kpr(get_defined_vars()).tmSnippet
├── kpr.tmSnippet
├── l() absolute 2.tmSnippet
├── l() absolute.tmSnippet
├── l() fragment 2.tmSnippet
├── l() fragment.tmSnippet
├── l() html.tmSnippet
├── l() node 2.tmSnippet
├── l() node.tmSnippet
├── l() query 2.tmSnippet
├── l() query.tmSnippet
├── l() user 2.tmSnippet
├── l() user.tmSnippet
├── l() variables 2.tmSnippet
├── l() variables.tmSnippet
├── l.tmSnippet
├── php $node-content['body']['#value'];.tmSnippet
├── php $node-field_name[0]['view'];.tmSnippet
├── php debug.tmSnippet
├── php dpm_once.tmSnippet
├── php hide.tmSnippet
├── php kpr(get_defined_vars()).tmSnippet
├── php kpr.tmSnippet
├── php print $fields['field_name']-content.tmSnippet
├── php print $variable;.tmSnippet
├── php render.tmSnippet
├── php show.tmSnippet
├── render.tmSnippet
├── show.tmSnippet
├── t 2.tmSnippet
├── t.tmSnippet
├── template_preprocess_views.tmSnippet
├── variable_del.tmSnippet
├── variable_get.tmSnippet
├── variable_set.tmSnippet
├── views_embed_view 2.tmSnippet
├── views_embed_view.tmSnippet
├── views_get_view.tmSnippet
├── views_trace 2.tmSnippet
├── views_trace.tmSnippet
├── views_var_export 2.tmSnippet
├── views_var_export.tmSnippet
├── vpr 2.tmSnippet
├── vpr.tmSnippet
├── vpr_trace 2.tmSnippet
├── vpr_trace.tmSnippet
├── vsm_trace 2.tmSnippet
└── vsm_trace.tmSnippet
├── Support
├── bootstrap.php
├── commands
│ ├── generated
│ │ ├── functions.6.plist
│ │ ├── functions.7.plist
│ │ ├── hooks
│ │ │ ├── 6
│ │ │ │ ├── hook_access.6.php
│ │ │ │ ├── hook_action_info.6.php
│ │ │ │ ├── hook_action_info_alter.6.php
│ │ │ │ ├── hook_actions_delete.6.php
│ │ │ │ ├── hook_block.6.php
│ │ │ │ ├── hook_boot.6.php
│ │ │ │ ├── hook_comment.6.php
│ │ │ │ ├── hook_cron.6.php
│ │ │ │ ├── hook_db_rewrite_sql.6.php
│ │ │ │ ├── hook_delete.6.php
│ │ │ │ ├── hook_disable.6.php
│ │ │ │ ├── hook_elements.6.php
│ │ │ │ ├── hook_enable.6.php
│ │ │ │ ├── hook_exit.6.php
│ │ │ │ ├── hook_file_download.6.php
│ │ │ │ ├── hook_filter.6.php
│ │ │ │ ├── hook_filter_tips.6.php
│ │ │ │ ├── hook_flush_caches.6.php
│ │ │ │ ├── hook_footer.6.php
│ │ │ │ ├── hook_form.6.php
│ │ │ │ ├── hook_form_alter.6.php
│ │ │ │ ├── hook_form_form_id_alter.6.php
│ │ │ │ ├── hook_forms.6.php
│ │ │ │ ├── hook_help.6.php
│ │ │ │ ├── hook_hook_info.6.php
│ │ │ │ ├── hook_init.6.php
│ │ │ │ ├── hook_insert.6.php
│ │ │ │ ├── hook_install.6.php
│ │ │ │ ├── hook_link.6.php
│ │ │ │ ├── hook_link_alter.6.php
│ │ │ │ ├── hook_load.6.php
│ │ │ │ ├── hook_locale.6.php
│ │ │ │ ├── hook_mail.6.php
│ │ │ │ ├── hook_mail_alter.6.php
│ │ │ │ ├── hook_menu.6.php
│ │ │ │ ├── hook_menu_alter.6.php
│ │ │ │ ├── hook_menu_link_alter.6.php
│ │ │ │ ├── hook_node_access_records.6.php
│ │ │ │ ├── hook_node_grants.6.php
│ │ │ │ ├── hook_node_info.6.php
│ │ │ │ ├── hook_node_operations.6.php
│ │ │ │ ├── hook_node_type.6.php
│ │ │ │ ├── hook_nodeapi.6.php
│ │ │ │ ├── hook_perm.6.php
│ │ │ │ ├── hook_ping.6.php
│ │ │ │ ├── hook_prepare.6.php
│ │ │ │ ├── hook_profile_alter.6.php
│ │ │ │ ├── hook_requirements.6.php
│ │ │ │ ├── hook_schema.6.php
│ │ │ │ ├── hook_schema_alter.6.php
│ │ │ │ ├── hook_search.6.php
│ │ │ │ ├── hook_search_preprocess.6.php
│ │ │ │ ├── hook_system_info_alter.6.php
│ │ │ │ ├── hook_taxonomy.6.php
│ │ │ │ ├── hook_term_path.6.php
│ │ │ │ ├── hook_theme.6.php
│ │ │ │ ├── hook_theme_registry_alter.6.php
│ │ │ │ ├── hook_translated_menu_link_alter.6.php
│ │ │ │ ├── hook_translation_link_alter.6.php
│ │ │ │ ├── hook_uninstall.6.php
│ │ │ │ ├── hook_update.6.php
│ │ │ │ ├── hook_update_index.6.php
│ │ │ │ ├── hook_update_last_removed.6.php
│ │ │ │ ├── hook_update_n.6.php
│ │ │ │ ├── hook_update_projects_alter.6.php
│ │ │ │ ├── hook_update_status_alter.6.php
│ │ │ │ ├── hook_user.6.php
│ │ │ │ ├── hook_user_operations.6.php
│ │ │ │ ├── hook_validate.6.php
│ │ │ │ ├── hook_view.6.php
│ │ │ │ ├── hook_watchdog.6.php
│ │ │ │ └── hook_xmlrpc.6.php
│ │ │ └── 7
│ │ │ │ ├── hook_action_info.7.php
│ │ │ │ ├── hook_action_info_alter.7.php
│ │ │ │ ├── hook_actions_delete.7.php
│ │ │ │ ├── hook_admin_paths.7.php
│ │ │ │ ├── hook_admin_paths_alter.7.php
│ │ │ │ ├── hook_aggregator_fetch.7.php
│ │ │ │ ├── hook_aggregator_fetch_info.7.php
│ │ │ │ ├── hook_aggregator_parse.7.php
│ │ │ │ ├── hook_aggregator_parse_info.7.php
│ │ │ │ ├── hook_aggregator_process.7.php
│ │ │ │ ├── hook_aggregator_process_info.7.php
│ │ │ │ ├── hook_aggregator_remove.7.php
│ │ │ │ ├── hook_ajax_render_alter.7.php
│ │ │ │ ├── hook_archiver_info.7.php
│ │ │ │ ├── hook_archiver_info_alter.7.php
│ │ │ │ ├── hook_batch_alter.7.php
│ │ │ │ ├── hook_block_configure.7.php
│ │ │ │ ├── hook_block_info.7.php
│ │ │ │ ├── hook_block_info_alter.7.php
│ │ │ │ ├── hook_block_list_alter.7.php
│ │ │ │ ├── hook_block_save.7.php
│ │ │ │ ├── hook_block_view.7.php
│ │ │ │ ├── hook_block_view_MODULE_DELTA_alter.7.php
│ │ │ │ ├── hook_block_view_alter.7.php
│ │ │ │ ├── hook_boot.7.php
│ │ │ │ ├── hook_comment_delete.7.php
│ │ │ │ ├── hook_comment_insert.7.php
│ │ │ │ ├── hook_comment_load.7.php
│ │ │ │ ├── hook_comment_presave.7.php
│ │ │ │ ├── hook_comment_publish.7.php
│ │ │ │ ├── hook_comment_unpublish.7.php
│ │ │ │ ├── hook_comment_update.7.php
│ │ │ │ ├── hook_comment_view.7.php
│ │ │ │ ├── hook_comment_view_alter.7.php
│ │ │ │ ├── hook_contextual_links_view_alter.7.php
│ │ │ │ ├── hook_countries_alter.7.php
│ │ │ │ ├── hook_cron.7.php
│ │ │ │ ├── hook_cron_queue_info.7.php
│ │ │ │ ├── hook_cron_queue_info_alter.7.php
│ │ │ │ ├── hook_css_alter.7.php
│ │ │ │ ├── hook_custom_theme.7.php
│ │ │ │ ├── hook_dashboard_regions.7.php
│ │ │ │ ├── hook_dashboard_regions_alter.7.php
│ │ │ │ ├── hook_date_format_types.7.php
│ │ │ │ ├── hook_date_format_types_alter.7.php
│ │ │ │ ├── hook_date_formats.7.php
│ │ │ │ ├── hook_date_formats_alter.7.php
│ │ │ │ ├── hook_delete.7.php
│ │ │ │ ├── hook_disable.7.php
│ │ │ │ ├── hook_drupal_goto_alter.7.php
│ │ │ │ ├── hook_element_info.7.php
│ │ │ │ ├── hook_element_info_alter.7.php
│ │ │ │ ├── hook_enable.7.php
│ │ │ │ ├── hook_entity_delete.7.php
│ │ │ │ ├── hook_entity_info.7.php
│ │ │ │ ├── hook_entity_info_alter.7.php
│ │ │ │ ├── hook_entity_insert.7.php
│ │ │ │ ├── hook_entity_load.7.php
│ │ │ │ ├── hook_entity_prepare_view.7.php
│ │ │ │ ├── hook_entity_presave.7.php
│ │ │ │ ├── hook_entity_query_alter.7.php
│ │ │ │ ├── hook_entity_update.7.php
│ │ │ │ ├── hook_entity_view.7.php
│ │ │ │ ├── hook_entity_view_alter.7.php
│ │ │ │ ├── hook_exit.7.php
│ │ │ │ ├── hook_field_access.7.php
│ │ │ │ ├── hook_field_attach_create_bundle.7.php
│ │ │ │ ├── hook_field_attach_delete.7.php
│ │ │ │ ├── hook_field_attach_delete_bundle.7.php
│ │ │ │ ├── hook_field_attach_delete_revision.7.php
│ │ │ │ ├── hook_field_attach_form.7.php
│ │ │ │ ├── hook_field_attach_insert.7.php
│ │ │ │ ├── hook_field_attach_load.7.php
│ │ │ │ ├── hook_field_attach_prepare_translation_alter.7.php
│ │ │ │ ├── hook_field_attach_preprocess_alter.7.php
│ │ │ │ ├── hook_field_attach_presave.7.php
│ │ │ │ ├── hook_field_attach_purge.7.php
│ │ │ │ ├── hook_field_attach_rename_bundle.7.php
│ │ │ │ ├── hook_field_attach_submit.7.php
│ │ │ │ ├── hook_field_attach_update.7.php
│ │ │ │ ├── hook_field_attach_validate.7.php
│ │ │ │ ├── hook_field_attach_view_alter.7.php
│ │ │ │ ├── hook_field_available_languages_alter.7.php
│ │ │ │ ├── hook_field_create_field.7.php
│ │ │ │ ├── hook_field_create_instance.7.php
│ │ │ │ ├── hook_field_delete.7.php
│ │ │ │ ├── hook_field_delete_field.7.php
│ │ │ │ ├── hook_field_delete_instance.7.php
│ │ │ │ ├── hook_field_delete_revision.7.php
│ │ │ │ ├── hook_field_display_ENTITY_TYPE_alter.7.php
│ │ │ │ ├── hook_field_display_alter.7.php
│ │ │ │ ├── hook_field_extra_fields.7.php
│ │ │ │ ├── hook_field_extra_fields_alter.7.php
│ │ │ │ ├── hook_field_extra_fields_display_alter.7.php
│ │ │ │ ├── hook_field_formatter_info.7.php
│ │ │ │ ├── hook_field_formatter_info_alter.7.php
│ │ │ │ ├── hook_field_formatter_prepare_view.7.php
│ │ │ │ ├── hook_field_formatter_settings_form.7.php
│ │ │ │ ├── hook_field_formatter_settings_summary.7.php
│ │ │ │ ├── hook_field_formatter_view.7.php
│ │ │ │ ├── hook_field_info.7.php
│ │ │ │ ├── hook_field_info_alter.7.php
│ │ │ │ ├── hook_field_info_max_weight.7.php
│ │ │ │ ├── hook_field_insert.7.php
│ │ │ │ ├── hook_field_instance_settings_form.7.php
│ │ │ │ ├── hook_field_is_empty.7.php
│ │ │ │ ├── hook_field_language_alter.7.php
│ │ │ │ ├── hook_field_load.7.php
│ │ │ │ ├── hook_field_prepare_translation.7.php
│ │ │ │ ├── hook_field_prepare_view.7.php
│ │ │ │ ├── hook_field_presave.7.php
│ │ │ │ ├── hook_field_purge_field.7.php
│ │ │ │ ├── hook_field_purge_field_instance.7.php
│ │ │ │ ├── hook_field_read_field.7.php
│ │ │ │ ├── hook_field_read_instance.7.php
│ │ │ │ ├── hook_field_schema.7.php
│ │ │ │ ├── hook_field_settings_form.7.php
│ │ │ │ ├── hook_field_storage_create_field.7.php
│ │ │ │ ├── hook_field_storage_delete.7.php
│ │ │ │ ├── hook_field_storage_delete_field.7.php
│ │ │ │ ├── hook_field_storage_delete_instance.7.php
│ │ │ │ ├── hook_field_storage_delete_revision.7.php
│ │ │ │ ├── hook_field_storage_details.7.php
│ │ │ │ ├── hook_field_storage_details_alter.7.php
│ │ │ │ ├── hook_field_storage_info.7.php
│ │ │ │ ├── hook_field_storage_info_alter.7.php
│ │ │ │ ├── hook_field_storage_load.7.php
│ │ │ │ ├── hook_field_storage_pre_insert.7.php
│ │ │ │ ├── hook_field_storage_pre_load.7.php
│ │ │ │ ├── hook_field_storage_pre_update.7.php
│ │ │ │ ├── hook_field_storage_purge.7.php
│ │ │ │ ├── hook_field_storage_purge_field.7.php
│ │ │ │ ├── hook_field_storage_purge_field_instance.7.php
│ │ │ │ ├── hook_field_storage_query.7.php
│ │ │ │ ├── hook_field_storage_update_field.7.php
│ │ │ │ ├── hook_field_storage_write.7.php
│ │ │ │ ├── hook_field_update.7.php
│ │ │ │ ├── hook_field_update_field.7.php
│ │ │ │ ├── hook_field_update_forbid.7.php
│ │ │ │ ├── hook_field_update_instance.7.php
│ │ │ │ ├── hook_field_validate.7.php
│ │ │ │ ├── hook_field_widget_error.7.php
│ │ │ │ ├── hook_field_widget_form.7.php
│ │ │ │ ├── hook_field_widget_info.7.php
│ │ │ │ ├── hook_field_widget_info_alter.7.php
│ │ │ │ ├── hook_field_widget_properties_ENTITY_TYPE_alter.7.php
│ │ │ │ ├── hook_field_widget_properties_alter.7.php
│ │ │ │ ├── hook_field_widget_settings_form.7.php
│ │ │ │ ├── hook_file_copy.7.php
│ │ │ │ ├── hook_file_delete.7.php
│ │ │ │ ├── hook_file_download.7.php
│ │ │ │ ├── hook_file_download_access.7.php
│ │ │ │ ├── hook_file_download_access_alter.7.php
│ │ │ │ ├── hook_file_insert.7.php
│ │ │ │ ├── hook_file_load.7.php
│ │ │ │ ├── hook_file_mimetype_mapping_alter.7.php
│ │ │ │ ├── hook_file_move.7.php
│ │ │ │ ├── hook_file_presave.7.php
│ │ │ │ ├── hook_file_update.7.php
│ │ │ │ ├── hook_file_url_alter.7.php
│ │ │ │ ├── hook_file_validate.7.php
│ │ │ │ ├── hook_filetransfer_info.7.php
│ │ │ │ ├── hook_filetransfer_info_alter.7.php
│ │ │ │ ├── hook_filter_FILTER_prepare.7.php
│ │ │ │ ├── hook_filter_FILTER_process.7.php
│ │ │ │ ├── hook_filter_FILTER_settings.7.php
│ │ │ │ ├── hook_filter_FILTER_tips.7.php
│ │ │ │ ├── hook_filter_format_disable.7.php
│ │ │ │ ├── hook_filter_format_insert.7.php
│ │ │ │ ├── hook_filter_format_update.7.php
│ │ │ │ ├── hook_filter_info.7.php
│ │ │ │ ├── hook_filter_info_alter.7.php
│ │ │ │ ├── hook_flush_caches.7.php
│ │ │ │ ├── hook_form.7.php
│ │ │ │ ├── hook_form_BASE_FORM_ID_alter.7.php
│ │ │ │ ├── hook_form_FORM_ID_alter.7.php
│ │ │ │ ├── hook_form_alter.7.php
│ │ │ │ ├── hook_form_system_theme_settings_alter.7.php
│ │ │ │ ├── hook_forms.7.php
│ │ │ │ ├── hook_help.7.php
│ │ │ │ ├── hook_hook_info.7.php
│ │ │ │ ├── hook_hook_info_alter.7.php
│ │ │ │ ├── hook_html_head_alter.7.php
│ │ │ │ ├── hook_image_default_styles.7.php
│ │ │ │ ├── hook_image_effect_info.7.php
│ │ │ │ ├── hook_image_effect_info_alter.7.php
│ │ │ │ ├── hook_image_style_delete.7.php
│ │ │ │ ├── hook_image_style_flush.7.php
│ │ │ │ ├── hook_image_style_save.7.php
│ │ │ │ ├── hook_image_styles_alter.7.php
│ │ │ │ ├── hook_image_toolkits.7.php
│ │ │ │ ├── hook_init.7.php
│ │ │ │ ├── hook_insert.7.php
│ │ │ │ ├── hook_install.7.php
│ │ │ │ ├── hook_install_tasks.7.php
│ │ │ │ ├── hook_install_tasks_alter.7.php
│ │ │ │ ├── hook_js_alter.7.php
│ │ │ │ ├── hook_language_fallback_candidates_alter.7.php
│ │ │ │ ├── hook_language_init.7.php
│ │ │ │ ├── hook_language_negotiation_info.7.php
│ │ │ │ ├── hook_language_negotiation_info_alter.7.php
│ │ │ │ ├── hook_language_switch_links_alter.7.php
│ │ │ │ ├── hook_language_types_info.7.php
│ │ │ │ ├── hook_language_types_info_alter.7.php
│ │ │ │ ├── hook_library.7.php
│ │ │ │ ├── hook_library_alter.7.php
│ │ │ │ ├── hook_load.7.php
│ │ │ │ ├── hook_locale.7.php
│ │ │ │ ├── hook_mail.7.php
│ │ │ │ ├── hook_mail_alter.7.php
│ │ │ │ ├── hook_menu.7.php
│ │ │ │ ├── hook_menu_alter.7.php
│ │ │ │ ├── hook_menu_breadcrumb_alter.7.php
│ │ │ │ ├── hook_menu_contextual_links_alter.7.php
│ │ │ │ ├── hook_menu_delete.7.php
│ │ │ │ ├── hook_menu_get_item_alter.7.php
│ │ │ │ ├── hook_menu_insert.7.php
│ │ │ │ ├── hook_menu_link_alter.7.php
│ │ │ │ ├── hook_menu_link_delete.7.php
│ │ │ │ ├── hook_menu_link_insert.7.php
│ │ │ │ ├── hook_menu_link_update.7.php
│ │ │ │ ├── hook_menu_local_tasks_alter.7.php
│ │ │ │ ├── hook_menu_site_status_alter.7.php
│ │ │ │ ├── hook_menu_update.7.php
│ │ │ │ ├── hook_module_implements_alter.7.php
│ │ │ │ ├── hook_modules_disabled.7.php
│ │ │ │ ├── hook_modules_enabled.7.php
│ │ │ │ ├── hook_modules_installed.7.php
│ │ │ │ ├── hook_modules_uninstalled.7.php
│ │ │ │ ├── hook_multilingual_settings_changed.7.php
│ │ │ │ ├── hook_node_access.7.php
│ │ │ │ ├── hook_node_access_records.7.php
│ │ │ │ ├── hook_node_access_records_alter.7.php
│ │ │ │ ├── hook_node_delete.7.php
│ │ │ │ ├── hook_node_grants.7.php
│ │ │ │ ├── hook_node_grants_alter.7.php
│ │ │ │ ├── hook_node_info.7.php
│ │ │ │ ├── hook_node_insert.7.php
│ │ │ │ ├── hook_node_load.7.php
│ │ │ │ ├── hook_node_operations.7.php
│ │ │ │ ├── hook_node_prepare.7.php
│ │ │ │ ├── hook_node_presave.7.php
│ │ │ │ ├── hook_node_revision_delete.7.php
│ │ │ │ ├── hook_node_search_result.7.php
│ │ │ │ ├── hook_node_submit.7.php
│ │ │ │ ├── hook_node_type_delete.7.php
│ │ │ │ ├── hook_node_type_insert.7.php
│ │ │ │ ├── hook_node_type_update.7.php
│ │ │ │ ├── hook_node_update.7.php
│ │ │ │ ├── hook_node_update_index.7.php
│ │ │ │ ├── hook_node_validate.7.php
│ │ │ │ ├── hook_node_view.7.php
│ │ │ │ ├── hook_node_view_alter.7.php
│ │ │ │ ├── hook_openid.7.php
│ │ │ │ ├── hook_openid_discovery_method_info.7.php
│ │ │ │ ├── hook_openid_discovery_method_info_alter.7.php
│ │ │ │ ├── hook_openid_normalization_method_info.7.php
│ │ │ │ ├── hook_openid_normalization_method_info_alter.7.php
│ │ │ │ ├── hook_openid_response.7.php
│ │ │ │ ├── hook_options_list.7.php
│ │ │ │ ├── hook_overlay_child_initialize.7.php
│ │ │ │ ├── hook_overlay_parent_initialize.7.php
│ │ │ │ ├── hook_page_alter.7.php
│ │ │ │ ├── hook_page_build.7.php
│ │ │ │ ├── hook_page_delivery_callback_alter.7.php
│ │ │ │ ├── hook_path_delete.7.php
│ │ │ │ ├── hook_path_insert.7.php
│ │ │ │ ├── hook_path_update.7.php
│ │ │ │ ├── hook_permission.7.php
│ │ │ │ ├── hook_prepare.7.php
│ │ │ │ ├── hook_preprocess.7.php
│ │ │ │ ├── hook_preprocess_HOOK.7.php
│ │ │ │ ├── hook_process.7.php
│ │ │ │ ├── hook_process_HOOK.7.php
│ │ │ │ ├── hook_query_TAG_alter.7.php
│ │ │ │ ├── hook_query_alter.7.php
│ │ │ │ ├── hook_ranking.7.php
│ │ │ │ ├── hook_rdf_mapping.7.php
│ │ │ │ ├── hook_rdf_namespaces.7.php
│ │ │ │ ├── hook_registry_files_alter.7.php
│ │ │ │ ├── hook_requirements.7.php
│ │ │ │ ├── hook_schema.7.php
│ │ │ │ ├── hook_schema_alter.7.php
│ │ │ │ ├── hook_search_access.7.php
│ │ │ │ ├── hook_search_admin.7.php
│ │ │ │ ├── hook_search_execute.7.php
│ │ │ │ ├── hook_search_info.7.php
│ │ │ │ ├── hook_search_page.7.php
│ │ │ │ ├── hook_search_preprocess.7.php
│ │ │ │ ├── hook_search_reset.7.php
│ │ │ │ ├── hook_search_status.7.php
│ │ │ │ ├── hook_shortcut_default_set.7.php
│ │ │ │ ├── hook_simpletest_alter.7.php
│ │ │ │ ├── hook_stream_wrappers.7.php
│ │ │ │ ├── hook_stream_wrappers_alter.7.php
│ │ │ │ ├── hook_system_info_alter.7.php
│ │ │ │ ├── hook_system_themes_page_alter.7.php
│ │ │ │ ├── hook_taxonomy_term_delete.7.php
│ │ │ │ ├── hook_taxonomy_term_insert.7.php
│ │ │ │ ├── hook_taxonomy_term_load.7.php
│ │ │ │ ├── hook_taxonomy_term_presave.7.php
│ │ │ │ ├── hook_taxonomy_term_update.7.php
│ │ │ │ ├── hook_taxonomy_term_view_alter.7.php
│ │ │ │ ├── hook_taxonomy_vocabulary_delete.7.php
│ │ │ │ ├── hook_taxonomy_vocabulary_insert.7.php
│ │ │ │ ├── hook_taxonomy_vocabulary_load.7.php
│ │ │ │ ├── hook_taxonomy_vocabulary_presave.7.php
│ │ │ │ ├── hook_taxonomy_vocabulary_update.7.php
│ │ │ │ ├── hook_test_finished.7.php
│ │ │ │ ├── hook_test_group_finished.7.php
│ │ │ │ ├── hook_test_group_started.7.php
│ │ │ │ ├── hook_theme.7.php
│ │ │ │ ├── hook_theme_registry_alter.7.php
│ │ │ │ ├── hook_themes_disabled.7.php
│ │ │ │ ├── hook_themes_enabled.7.php
│ │ │ │ ├── hook_token_info.7.php
│ │ │ │ ├── hook_token_info_alter.7.php
│ │ │ │ ├── hook_tokens.7.php
│ │ │ │ ├── hook_tokens_alter.7.php
│ │ │ │ ├── hook_translated_menu_link_alter.7.php
│ │ │ │ ├── hook_trigger_info.7.php
│ │ │ │ ├── hook_trigger_info_alter.7.php
│ │ │ │ ├── hook_uninstall.7.php
│ │ │ │ ├── hook_update.7.php
│ │ │ │ ├── hook_update_N.7.php
│ │ │ │ ├── hook_update_dependencies.7.php
│ │ │ │ ├── hook_update_index.7.php
│ │ │ │ ├── hook_update_last_removed.7.php
│ │ │ │ ├── hook_update_projects_alter.7.php
│ │ │ │ ├── hook_update_status_alter.7.php
│ │ │ │ ├── hook_updater_info.7.php
│ │ │ │ ├── hook_updater_info_alter.7.php
│ │ │ │ ├── hook_url_inbound_alter.7.php
│ │ │ │ ├── hook_url_outbound_alter.7.php
│ │ │ │ ├── hook_user_cancel.7.php
│ │ │ │ ├── hook_user_cancel_methods_alter.7.php
│ │ │ │ ├── hook_user_categories.7.php
│ │ │ │ ├── hook_user_delete.7.php
│ │ │ │ ├── hook_user_insert.7.php
│ │ │ │ ├── hook_user_load.7.php
│ │ │ │ ├── hook_user_login.7.php
│ │ │ │ ├── hook_user_logout.7.php
│ │ │ │ ├── hook_user_operations.7.php
│ │ │ │ ├── hook_user_presave.7.php
│ │ │ │ ├── hook_user_role_delete.7.php
│ │ │ │ ├── hook_user_role_insert.7.php
│ │ │ │ ├── hook_user_role_update.7.php
│ │ │ │ ├── hook_user_update.7.php
│ │ │ │ ├── hook_user_view.7.php
│ │ │ │ ├── hook_user_view_alter.7.php
│ │ │ │ ├── hook_username_alter.7.php
│ │ │ │ ├── hook_validate.7.php
│ │ │ │ ├── hook_verify_update_archive.7.php
│ │ │ │ ├── hook_view.7.php
│ │ │ │ ├── hook_watchdog.7.php
│ │ │ │ ├── hook_xmlrpc.7.php
│ │ │ │ └── hook_xmlrpc_alter.7.php
│ │ └── theme
│ │ │ ├── 6
│ │ │ ├── theme_blocks.6.php
│ │ │ ├── theme_box.6.php
│ │ │ ├── theme_breadcrumb.6.php
│ │ │ ├── theme_button.6.php
│ │ │ ├── theme_checkbox.6.php
│ │ │ ├── theme_checkboxes.6.php
│ │ │ ├── theme_closure.6.php
│ │ │ ├── theme_date.6.php
│ │ │ ├── theme_dblog_filters.6.php
│ │ │ ├── theme_feed_icon.6.php
│ │ │ ├── theme_fieldset.6.php
│ │ │ ├── theme_file.6.php
│ │ │ ├── theme_filter_tips_more_info.6.php
│ │ │ ├── theme_form.6.php
│ │ │ ├── theme_form_element.6.php
│ │ │ ├── theme_help.6.php
│ │ │ ├── theme_hidden.6.php
│ │ │ ├── theme_image.6.php
│ │ │ ├── theme_image_button.6.php
│ │ │ ├── theme_indentation.6.php
│ │ │ ├── theme_item.6.php
│ │ │ ├── theme_item_list.6.php
│ │ │ ├── theme_links.6.php
│ │ │ ├── theme_mark.6.php
│ │ │ ├── theme_markup.6.php
│ │ │ ├── theme_menu_item.6.php
│ │ │ ├── theme_menu_item_link.6.php
│ │ │ ├── theme_menu_local_task.6.php
│ │ │ ├── theme_menu_local_tasks.6.php
│ │ │ ├── theme_menu_tree.6.php
│ │ │ ├── theme_more_help_link.6.php
│ │ │ ├── theme_more_link.6.php
│ │ │ ├── theme_node_list.6.php
│ │ │ ├── theme_node_log_message.6.php
│ │ │ ├── theme_node_search_admin.6.php
│ │ │ ├── theme_node_submitted.6.php
│ │ │ ├── theme_pager.6.php
│ │ │ ├── theme_pager_first.6.php
│ │ │ ├── theme_pager_last.6.php
│ │ │ ├── theme_pager_link.6.php
│ │ │ ├── theme_pager_next.6.php
│ │ │ ├── theme_pager_previous.6.php
│ │ │ ├── theme_password.6.php
│ │ │ ├── theme_password_confirm.6.php
│ │ │ ├── theme_placeholder.6.php
│ │ │ ├── theme_progress_bar.6.php
│ │ │ ├── theme_radio.6.php
│ │ │ ├── theme_radios.6.php
│ │ │ ├── theme_select.6.php
│ │ │ ├── theme_status_messages.6.php
│ │ │ ├── theme_submenu.6.php
│ │ │ ├── theme_submit.6.php
│ │ │ ├── theme_system_powered_by.6.php
│ │ │ ├── theme_table.6.php
│ │ │ ├── theme_table_select_header_cell.6.php
│ │ │ ├── theme_tablesort_indicator.6.php
│ │ │ ├── theme_taxonomy_term_select.6.php
│ │ │ ├── theme_textarea.6.php
│ │ │ ├── theme_textfield.6.php
│ │ │ ├── theme_token.6.php
│ │ │ ├── theme_user_list.6.php
│ │ │ ├── theme_user_signature.6.php
│ │ │ ├── theme_username.6.php
│ │ │ └── theme_xml_icon.6.php
│ │ │ └── 7
│ │ │ ├── theme_admin_block.7.php
│ │ │ ├── theme_admin_block_content.7.php
│ │ │ ├── theme_admin_menu_links.7.php
│ │ │ ├── theme_admin_page.7.php
│ │ │ ├── theme_aggregator_block_item.7.php
│ │ │ ├── theme_aggregator_categorize_items.7.php
│ │ │ ├── theme_aggregator_page_opml.7.php
│ │ │ ├── theme_aggregator_page_rss.7.php
│ │ │ ├── theme_book_admin_table.7.php
│ │ │ ├── theme_book_title_link.7.php
│ │ │ ├── theme_breadcrumb.7.php
│ │ │ ├── theme_button.7.php
│ │ │ ├── theme_checkbox.7.php
│ │ │ ├── theme_checkboxes.7.php
│ │ │ ├── theme_color_scheme_form.7.php
│ │ │ ├── theme_comment_block.7.php
│ │ │ ├── theme_comment_post_forbidden.7.php
│ │ │ ├── theme_common_test_foo.7.php
│ │ │ ├── theme_confirm_form.7.php
│ │ │ ├── theme_container.7.php
│ │ │ ├── theme_dashboard.7.php
│ │ │ ├── theme_dashboard_admin.7.php
│ │ │ ├── theme_dashboard_disabled_block.7.php
│ │ │ ├── theme_dashboard_disabled_blocks.7.php
│ │ │ ├── theme_dashboard_region.7.php
│ │ │ ├── theme_date.7.php
│ │ │ ├── theme_dblog_message.7.php
│ │ │ ├── theme_devel_querylog.7.php
│ │ │ ├── theme_devel_querylog_row.7.php
│ │ │ ├── theme_disable.7.php
│ │ │ ├── theme_enable.7.php
│ │ │ ├── theme_exposed_filters.7.php
│ │ │ ├── theme_feed_icon.7.php
│ │ │ ├── theme_field.7.php
│ │ │ ├── theme_field_multiple_value_form.7.php
│ │ │ ├── theme_field_ui_table.7.php
│ │ │ ├── theme_fieldset.7.php
│ │ │ ├── theme_file.7.php
│ │ │ ├── theme_file_formatter_table.7.php
│ │ │ ├── theme_file_icon.7.php
│ │ │ ├── theme_file_link.7.php
│ │ │ ├── theme_file_managed_file.7.php
│ │ │ ├── theme_file_upload_help.7.php
│ │ │ ├── theme_file_widget.7.php
│ │ │ ├── theme_file_widget_multiple.7.php
│ │ │ ├── theme_filter_admin_format_filter_order.7.php
│ │ │ ├── theme_filter_admin_overview.7.php
│ │ │ ├── theme_filter_guidelines.7.php
│ │ │ ├── theme_filter_tips.7.php
│ │ │ ├── theme_filter_tips_more_info.7.php
│ │ │ ├── theme_form.7.php
│ │ │ ├── theme_form_element.7.php
│ │ │ ├── theme_form_element_label.7.php
│ │ │ ├── theme_form_required_marker.7.php
│ │ │ ├── theme_forum_form.7.php
│ │ │ ├── theme_get_registry.7.php
│ │ │ ├── theme_get_setting.7.php
│ │ │ ├── theme_get_suggestions.7.php
│ │ │ ├── theme_hidden.7.php
│ │ │ ├── theme_html_tag.7.php
│ │ │ ├── theme_image.7.php
│ │ │ ├── theme_image_anchor.7.php
│ │ │ ├── theme_image_button.7.php
│ │ │ ├── theme_image_crop_summary.7.php
│ │ │ ├── theme_image_formatter.7.php
│ │ │ ├── theme_image_resize_summary.7.php
│ │ │ ├── theme_image_rotate_summary.7.php
│ │ │ ├── theme_image_scale_summary.7.php
│ │ │ ├── theme_image_style.7.php
│ │ │ ├── theme_image_style_effects.7.php
│ │ │ ├── theme_image_style_list.7.php
│ │ │ ├── theme_image_style_preview.7.php
│ │ │ ├── theme_image_widget.7.php
│ │ │ ├── theme_indentation.7.php
│ │ │ ├── theme_item_list.7.php
│ │ │ ├── theme_link.7.php
│ │ │ ├── theme_links.7.php
│ │ │ ├── theme_locale_date_format_form.7.php
│ │ │ ├── theme_locale_languages_configure_form.7.php
│ │ │ ├── theme_locale_languages_overview_form.7.php
│ │ │ ├── theme_mark.7.php
│ │ │ ├── theme_menu_admin_overview.7.php
│ │ │ ├── theme_menu_link.7.php
│ │ │ ├── theme_menu_local_action.7.php
│ │ │ ├── theme_menu_local_task.7.php
│ │ │ ├── theme_menu_local_tasks.7.php
│ │ │ ├── theme_menu_overview_form.7.php
│ │ │ ├── theme_menu_tree.7.php
│ │ │ ├── theme_more_help_link.7.php
│ │ │ ├── theme_more_link.7.php
│ │ │ ├── theme_node_add_list.7.php
│ │ │ ├── theme_node_admin_overview.7.php
│ │ │ ├── theme_node_preview.7.php
│ │ │ ├── theme_node_recent_block.7.php
│ │ │ ├── theme_node_recent_content.7.php
│ │ │ ├── theme_node_search_admin.7.php
│ │ │ ├── theme_options_none.7.php
│ │ │ ├── theme_overlay_disable_message.7.php
│ │ │ ├── theme_pager.7.php
│ │ │ ├── theme_pager_first.7.php
│ │ │ ├── theme_pager_last.7.php
│ │ │ ├── theme_pager_link.7.php
│ │ │ ├── theme_pager_next.7.php
│ │ │ ├── theme_pager_previous.7.php
│ │ │ ├── theme_password.7.php
│ │ │ ├── theme_poll_choices.7.php
│ │ │ ├── theme_profile_admin_overview.7.php
│ │ │ ├── theme_progress_bar.7.php
│ │ │ ├── theme_radio.7.php
│ │ │ ├── theme_radios.7.php
│ │ │ ├── theme_rdf_metadata.7.php
│ │ │ ├── theme_rdf_template_variable_wrapper.7.php
│ │ │ ├── theme_render_template.7.php
│ │ │ ├── theme_select.7.php
│ │ │ ├── theme_shortcut_set_customize.7.php
│ │ │ ├── theme_simpletest_result_summary.7.php
│ │ │ ├── theme_simpletest_test_table.7.php
│ │ │ ├── theme_status_messages.7.php
│ │ │ ├── theme_status_report.7.php
│ │ │ ├── theme_submit.7.php
│ │ │ ├── theme_system_admin_index.7.php
│ │ │ ├── theme_system_compact_link.7.php
│ │ │ ├── theme_system_date_time_settings.7.php
│ │ │ ├── theme_system_modules_fieldset.7.php
│ │ │ ├── theme_system_modules_incompatible.7.php
│ │ │ ├── theme_system_modules_uninstall.7.php
│ │ │ ├── theme_system_powered_by.7.php
│ │ │ ├── theme_system_settings_form.7.php
│ │ │ ├── theme_system_themes_page.7.php
│ │ │ ├── theme_table.7.php
│ │ │ ├── theme_tableselect.7.php
│ │ │ ├── theme_tablesort_indicator.7.php
│ │ │ ├── theme_taxonomy_overview_terms.7.php
│ │ │ ├── theme_taxonomy_overview_vocabularies.7.php
│ │ │ ├── theme_textarea.7.php
│ │ │ ├── theme_textfield.7.php
│ │ │ ├── theme_toolbar_toggle.7.php
│ │ │ ├── theme_trigger_display.7.php
│ │ │ ├── theme_update_last_check.7.php
│ │ │ ├── theme_update_manager_update_form.7.php
│ │ │ ├── theme_update_report.7.php
│ │ │ ├── theme_update_status_label.7.php
│ │ │ ├── theme_update_version.7.php
│ │ │ ├── theme_user_admin_permissions.7.php
│ │ │ ├── theme_user_admin_roles.7.php
│ │ │ ├── theme_user_list.7.php
│ │ │ ├── theme_user_permission_description.7.php
│ │ │ ├── theme_user_signature.7.php
│ │ │ ├── theme_username.7.php
│ │ │ └── theme_vertical_tabs.7.php
│ └── overrides
│ │ ├── cck
│ │ └── 6
│ │ │ ├── content_extras.6.php
│ │ │ ├── content_fields.6.php
│ │ │ ├── content_textfield.6.php
│ │ │ └── content_type.6.php
│ │ ├── drupal
│ │ └── drupal_get_path.php
│ │ ├── fapi
│ │ ├── controls
│ │ │ ├── button.php
│ │ │ ├── checkbox.php
│ │ │ ├── checkboxes.php
│ │ │ ├── date.php
│ │ │ ├── fieldset.php
│ │ │ ├── file.php
│ │ │ ├── hidden.php
│ │ │ ├── item.php
│ │ │ ├── markup.php
│ │ │ ├── password.php
│ │ │ ├── radio.php
│ │ │ ├── radios.php
│ │ │ ├── select.php
│ │ │ ├── submit.php
│ │ │ ├── textarea.php
│ │ │ ├── textfield.php
│ │ │ ├── value.php
│ │ │ └── weight.php
│ │ └── elements
│ │ │ ├── access.php
│ │ │ ├── action.php
│ │ │ ├── after_build.php
│ │ │ ├── attributes.php
│ │ │ ├── autocomplete_path.php
│ │ │ ├── button_type.php
│ │ │ ├── collapsed.php
│ │ │ ├── collapsible.php
│ │ │ ├── cols.php
│ │ │ ├── default_value.php
│ │ │ ├── delta.php
│ │ │ ├── description.php
│ │ │ ├── field_prefix.php
│ │ │ ├── field_suffix.php
│ │ │ ├── maxlength.php
│ │ │ ├── method.php
│ │ │ ├── multiple.php
│ │ │ ├── options.php
│ │ │ ├── parents.php
│ │ │ ├── prefix.php
│ │ │ ├── redirect.php
│ │ │ ├── required.php
│ │ │ ├── return_value.php
│ │ │ ├── rows.php
│ │ │ ├── size.php
│ │ │ ├── submit.php
│ │ │ ├── suffix.php
│ │ │ ├── theme.php
│ │ │ ├── title.php
│ │ │ ├── tree.php
│ │ │ ├── validate.php
│ │ │ ├── value.php
│ │ │ └── weight.php
│ │ ├── hooks
│ │ ├── 5
│ │ │ ├── hook_access.5.php
│ │ │ ├── hook_block.5.php
│ │ │ ├── hook_comment.5.php
│ │ │ ├── hook_delete.5.php
│ │ │ ├── hook_form.5.php
│ │ │ ├── hook_form_alter.5.php
│ │ │ ├── hook_forms.5.php
│ │ │ ├── hook_help.5.php
│ │ │ ├── hook_load.5.php
│ │ │ ├── hook_menu.5.php
│ │ │ ├── hook_node_info.5.php
│ │ │ ├── hook_nodeapi.5.php
│ │ │ ├── hook_perm.5.php
│ │ │ ├── hook_update_N.5.php
│ │ │ └── hook_user.5.php
│ │ ├── 6
│ │ │ ├── hook_access.6.php
│ │ │ ├── hook_action_info.6.php
│ │ │ ├── hook_action_info_alter.6.php
│ │ │ ├── hook_actions_delete.6.php
│ │ │ ├── hook_block.6.php
│ │ │ ├── hook_boot.6.php
│ │ │ ├── hook_comment.6.php
│ │ │ ├── hook_delete.6.php
│ │ │ ├── hook_field_formatter_info.6.php
│ │ │ ├── hook_filter.6.php
│ │ │ ├── hook_form.6.php
│ │ │ ├── hook_form_FORM_ID_alter.6.php
│ │ │ ├── hook_form_alter.6.php
│ │ │ ├── hook_forms.6.php
│ │ │ ├── hook_help.6.php
│ │ │ ├── hook_install.6.php
│ │ │ ├── hook_link_alter.6.php
│ │ │ ├── hook_load.6.php
│ │ │ ├── hook_locale.6.php
│ │ │ ├── hook_menu.6.php
│ │ │ ├── hook_node_info.6.php
│ │ │ ├── hook_nodeapi.6.php
│ │ │ ├── hook_perm.6.php
│ │ │ ├── hook_schema.6.php
│ │ │ ├── hook_strongarm.6.php
│ │ │ ├── hook_theme.6.php
│ │ │ ├── hook_theme_registry_alter.6.php
│ │ │ ├── hook_uninstall.6.php
│ │ │ ├── hook_update_N.6.php
│ │ │ ├── hook_user.6.php
│ │ │ ├── hook_views_admin_links_alter.6.php
│ │ │ ├── hook_views_api.6.php
│ │ │ ├── hook_views_convert.6.php
│ │ │ ├── hook_views_data.6.php
│ │ │ ├── hook_views_default_views.6.php
│ │ │ ├── hook_views_default_views_alter.6.php
│ │ │ ├── hook_views_handlers.6.php
│ │ │ ├── hook_views_plugins.6.php
│ │ │ ├── hook_views_post_render.6.php
│ │ │ ├── hook_views_pre_build.6.php
│ │ │ ├── hook_views_pre_execute.6.php
│ │ │ ├── hook_views_pre_render.6.php
│ │ │ ├── hook_views_pre_view.6.php
│ │ │ ├── hook_views_preview_info_alter.6.php
│ │ │ ├── hook_views_query_alter.6.php
│ │ │ └── hook_views_query_substitutions.6.php
│ │ └── 7
│ │ │ ├── hook_action_info.7.php
│ │ │ ├── hook_admin_paths.7.php
│ │ │ ├── hook_block_info.7.php
│ │ │ ├── hook_block_view.7.php
│ │ │ ├── hook_form.7.php
│ │ │ ├── hook_form_form_id_alter.7.php
│ │ │ ├── hook_forms.7.php
│ │ │ ├── hook_menu.7.php
│ │ │ ├── hook_theme.7.php
│ │ │ ├── hook_update_N.7.php
│ │ │ ├── hook_views_api.7.php
│ │ │ ├── hook_views_data.7.php
│ │ │ └── hook_views_data_alter.7.php
│ │ ├── js
│ │ ├── 6
│ │ │ └── js_behaviors.6.php
│ │ └── 7
│ │ │ ├── js_behaviors.7.php
│ │ │ └── js_reference.7.php
│ │ ├── menu
│ │ ├── 5
│ │ │ └── menu_item.5.php
│ │ ├── 6
│ │ │ └── menu_item.6.php
│ │ └── 7
│ │ │ └── menu_item.7.php
│ │ ├── preprocess
│ │ └── 6
│ │ │ ├── template_preprocess_comment.6.php
│ │ │ ├── template_preprocess_node.6.php
│ │ │ └── template_preprocess_page.6.php
│ │ ├── schema
│ │ └── 6
│ │ │ ├── field.6.php
│ │ │ └── schema.6.php
│ │ ├── simpletest
│ │ ├── 6
│ │ │ ├── unit_test_skeleton.6.php
│ │ │ └── web_test_skeleton.6.php
│ │ └── 7
│ │ │ ├── unit_test_skeleton.7.php
│ │ │ └── web_test_skeleton.7.php
│ │ └── theme
│ │ ├── 5
│ │ ├── theme_block.5.php
│ │ ├── theme_blocks.5.php
│ │ ├── theme_box.5.php
│ │ ├── theme_breadcrumb.5.php
│ │ ├── theme_button.5.php
│ │ ├── theme_checkbox.5.php
│ │ ├── theme_checkboxes.5.php
│ │ ├── theme_closure.5.php
│ │ ├── theme_date.5.php
│ │ ├── theme_feed_icon.5.php
│ │ ├── theme_fieldset.5.php
│ │ ├── theme_file.5.php
│ │ ├── theme_form.5.php
│ │ ├── theme_form_element.5.php
│ │ ├── theme_help.5.php
│ │ ├── theme_hidden.5.php
│ │ ├── theme_image.5.php
│ │ ├── theme_item.5.php
│ │ ├── theme_item_list.5.php
│ │ ├── theme_links.5.php
│ │ ├── theme_maintenance_page.5.php
│ │ ├── theme_mark.5.php
│ │ ├── theme_markup.5.php
│ │ ├── theme_menu_item.5.php
│ │ ├── theme_menu_item_link.5.php
│ │ ├── theme_menu_links.5.php
│ │ ├── theme_menu_local_task.5.php
│ │ ├── theme_menu_local_tasks.5.php
│ │ ├── theme_menu_tree.5.php
│ │ ├── theme_more_help_link.5.php
│ │ ├── theme_page.5.php
│ │ ├── theme_password.5.php
│ │ ├── theme_password_confirm.5.php
│ │ ├── theme_placeholder.5.php
│ │ ├── theme_progress_bar.5.php
│ │ ├── theme_radio.5.php
│ │ ├── theme_radios.5.php
│ │ ├── theme_select.5.php
│ │ ├── theme_status_messages.5.php
│ │ ├── theme_submenu.5.php
│ │ ├── theme_submit.5.php
│ │ ├── theme_table.5.php
│ │ ├── theme_table_select_header_cell.5.php
│ │ ├── theme_tablesort_indicator.5.php
│ │ ├── theme_taxonomy_term_select.5.php
│ │ ├── theme_textarea.5.php
│ │ ├── theme_textfield.5.php
│ │ ├── theme_token.5.php
│ │ ├── theme_username.5.php
│ │ └── theme_xml_icon.5.php
│ │ └── 6
│ │ ├── theme_blocks.6.php
│ │ ├── theme_box.6.php
│ │ ├── theme_breadcrumb.6.php
│ │ ├── theme_button.6.php
│ │ ├── theme_checkbox.6.php
│ │ ├── theme_checkboxes.6.php
│ │ ├── theme_closure.6.php
│ │ ├── theme_date.6.php
│ │ ├── theme_feed_icon.6.php
│ │ ├── theme_fieldset.6.php
│ │ ├── theme_file.6.php
│ │ ├── theme_form.6.php
│ │ ├── theme_form_element.6.php
│ │ ├── theme_help.6.php
│ │ ├── theme_hidden.6.php
│ │ ├── theme_image.6.php
│ │ ├── theme_image_button.6.php
│ │ ├── theme_indentation.6.php
│ │ ├── theme_item.6.php
│ │ ├── theme_item_list.6.php
│ │ ├── theme_links.6.php
│ │ ├── theme_mark.6.php
│ │ ├── theme_markup.6.php
│ │ ├── theme_menu_item.6.php
│ │ ├── theme_menu_item_link.6.php
│ │ ├── theme_menu_local_task.6.php
│ │ ├── theme_menu_local_tasks.6.php
│ │ ├── theme_menu_tree.6.php
│ │ ├── theme_more_help_link.6.php
│ │ ├── theme_more_link.6.php
│ │ ├── theme_password.6.php
│ │ ├── theme_password_confirm.6.php
│ │ ├── theme_placeholder.6.php
│ │ ├── theme_progress_bar.6.php
│ │ ├── theme_radio.6.php
│ │ ├── theme_radios.6.php
│ │ ├── theme_select.6.php
│ │ ├── theme_status_messages.6.php
│ │ ├── theme_submenu.6.php
│ │ ├── theme_submit.6.php
│ │ ├── theme_table.6.php
│ │ ├── theme_table_select_header_cell.6.php
│ │ ├── theme_tablesort_indicator.6.php
│ │ ├── theme_taxonomy_overview_terms.6.php
│ │ ├── theme_taxonomy_overview_vocabularies.6.php
│ │ ├── theme_taxonomy_term_page.6.php
│ │ ├── theme_taxonomy_term_select.6.php
│ │ ├── theme_textarea.6.php
│ │ ├── theme_textfield.6.php
│ │ ├── theme_token.6.php
│ │ ├── theme_username.6.php
│ │ └── theme_xml_icon.6.php
├── does_not_exist.php
├── help.markdown
├── hook_completion.rb
├── ini.rb
└── scripts
│ └── coder_format
│ └── coder_format.inc
├── Templates
├── Drush Make.tmTemplate
│ ├── info.plist
│ └── template.make
├── Module 5_x.tmTemplate
│ ├── info.plist
│ ├── module.info
│ └── module.module
├── Module 6_x.tmTemplate
│ ├── info.plist
│ ├── module.info
│ └── module.module
└── Module 7_x.tmTemplate
│ ├── info.plist
│ ├── module.info
│ └── module.module
└── info.plist
/README.md:
--------------------------------------------------------------------------------
1 | Support/help.markdown
--------------------------------------------------------------------------------
/Snippets/dpm 2.tmSnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
and
tags.
6 | \$text = preg_replace('|(.+?)
|se', "[codefilter_code]\$1[/codefilter_code]", \$text);
7 | return \$text;}
8 | }
9 |
10 | $2
--------------------------------------------------------------------------------
/Support/commands/generated/hooks/7/hook_filter_FILTER_process.7.php:
--------------------------------------------------------------------------------
1 | /**
2 | * Implements hook_filter_FILTER_process().
3 | */
4 | function _filter_FILTER_process(\$text, \$filter, \$format, \$langcode, \$cache, \$cache_id) {
5 | ${1:\$text = preg_replace('|\[codefilter_code\](.+?)\[/codefilter_code\]|se', "\$1", \$text); 6 | 7 | return \$text;} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_filter_format_disable.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_filter_format_disable(). 3 | */ 4 | function _filter_format_disable(\$format) { 5 | ${1:mymodule_cache_rebuild();} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_filter_format_insert.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_filter_format_insert(). 3 | */ 4 | function _filter_format_insert(\$format) { 5 | ${1:mymodule_cache_rebuild();} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_filter_format_update.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_filter_format_update(). 3 | */ 4 | function _filter_format_update(\$format) { 5 | ${1:mymodule_cache_rebuild();} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_flush_caches.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_flush_caches(). 3 | */ 4 | function _flush_caches() { 5 | ${1:return array('cache_example');} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_hook_info.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_hook_info(). 3 | */ 4 | function _hook_info() { 5 | ${1:\$hooks['token_info'] = array( 6 | 'group' => 'tokens', 7 | ); 8 | \$hooks['tokens'] = array( 9 | 'group' => 'tokens', 10 | ); 11 | return \$hooks;} 12 | } 13 | 14 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_hook_info_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_hook_info_alter(). 3 | */ 4 | function _hook_info_alter(&\$hooks) { 5 | ${1:// Our module wants to completely override the core tokens, so make 6 | // sure the core token hooks are not found. 7 | \$hooks['token_info']['group'] = 'mytokens'; 8 | \$hooks['tokens']['group'] = 'mytokens';} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_html_head_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_html_head_alter(). 3 | */ 4 | function _html_head_alter(&\$head_elements) { 5 | ${1:foreach (\$head_elements as \$key => \$element) { 6 | if (isset(\$element['#attributes']['rel']) && \$element['#attributes']['rel'] == 'canonical') { 7 | // I want a custom canonical url. 8 | \$head_elements[\$key]['#attributes']['href'] = mymodule_canonical_url(); 9 | \} 10 | \}} 11 | } 12 | 13 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_image_effect_info_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_image_effect_info_alter(). 3 | */ 4 | function _image_effect_info_alter(&\$effects) { 5 | ${1:// Override the Image module's crop effect with more options. 6 | \$effect['image_crop']['effect callback'] = 'mymodule_crop_effect'; 7 | \$effect['image_crop']['form callback'] = 'mymodule_crop_form';} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_image_style_delete.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_image_style_delete(). 3 | */ 4 | function _image_style_delete(\$style) { 5 | ${1:// Administrators can choose an optional replacement style when deleting. 6 | // Update the modules style variable accordingly. 7 | if (isset(\$style['old_name']) && \$style['old_name'] == variable_get('mymodule_image_style', '')) { 8 | variable_set('mymodule_image_style', \$style['name']); 9 | \}} 10 | } 11 | 12 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_image_style_flush.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_image_style_flush(). 3 | */ 4 | function _image_style_flush(\$style) { 5 | ${1:// Empty cached data that contains information about the style. 6 | cache_clear_all('*', 'cache_mymodule', TRUE);} 7 | } 8 | 9 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_image_style_save.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_image_style_save(). 3 | */ 4 | function _image_style_save(\$style) { 5 | ${1:// If a module defines an image style and that style is renamed by the user 6 | // the module should update any references to that style. 7 | if (isset(\$style['old_name']) && \$style['old_name'] == variable_get('mymodule_image_style', '')) { 8 | variable_set('mymodule_image_style', \$style['name']); 9 | \}} 10 | } 11 | 12 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_image_toolkits.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_image_toolkits(). 3 | */ 4 | function _image_toolkits() { 5 | ${1:return array( 6 | 'working' => array( 7 | 'title' => t('A toolkit that works.'), 8 | 'available' => TRUE, 9 | ), 10 | 'broken' => array( 11 | 'title' => t('A toolkit that is "broken" and will not be listed.'), 12 | 'available' => FALSE, 13 | ), 14 | );} 15 | } 16 | 17 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_init.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_init(). 3 | */ 4 | function _init() { 5 | ${1:drupal_add_css(drupal_get_path('module', 'book') . '/book.css');} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_insert.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_insert(). 3 | */ 4 | function _insert(\$node) { 5 | ${1:db_insert('mytable') 6 | ->fields(array( 7 | 'nid' => \$node->nid, 8 | 'extra' => \$node->extra, 9 | )) 10 | ->execute();} 11 | } 12 | 13 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_install.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_install(). 3 | */ 4 | function _install() { 5 | ${1:// Populate the default {node_access\} record. 6 | db_insert('node_access') 7 | ->fields(array( 8 | 'nid' => 0, 9 | 'gid' => 0, 10 | 'realm' => 'all', 11 | 'grant_view' => 1, 12 | 'grant_update' => 0, 13 | 'grant_delete' => 0, 14 | )) 15 | ->execute();} 16 | } 17 | 18 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_install_tasks_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_install_tasks_alter(). 3 | */ 4 | function _install_tasks_alter(&\$tasks, \$install_state) { 5 | ${1:// Replace the "Choose language" installation task provided by Drupal core 6 | // with a custom callback function defined by this installation profile. 7 | \$tasks['install_select_locale']['function'] = 'myprofile_locale_selection';} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_js_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_js_alter(). 3 | */ 4 | function _js_alter(&\$javascript) { 5 | ${1:// Swap out jQuery to use an updated version of the library. 6 | \$javascript['misc/jquery.js']['data'] = drupal_get_path('module', 'jquery_update') . '/jquery.js';} 7 | } 8 | 9 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_language_fallback_candidates_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_language_fallback_candidates_alter(). 3 | */ 4 | function _language_fallback_candidates_alter(array &\$fallback_candidates) { 5 | ${1:\$fallback_candidates = array_reverse(\$fallback_candidates);} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_language_init.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_language_init(). 3 | */ 4 | function _language_init() { 5 | ${1:global \$language, \$conf; 6 | 7 | switch (\$language->language) { 8 | case 'it': 9 | \$conf['site_name'] = 'Il mio sito Drupal'; 10 | break; 11 | 12 | case 'fr': 13 | \$conf['site_name'] = 'Mon site Drupal'; 14 | break; 15 | \}} 16 | } 17 | 18 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_language_negotiation_info_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_language_negotiation_info_alter(). 3 | */ 4 | function _language_negotiation_info_alter(array &\$language_providers) { 5 | ${1:if (isset(\$language_providers['custom_language_provider'])) { 6 | \$language_providers['custom_language_provider']['config'] = 'admin/config/regional/language/configure/custom-language-provider'; 7 | \}} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_language_switch_links_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_language_switch_links_alter(). 3 | */ 4 | function _language_switch_links_alter(array &\$links, \$type, \$path) { 5 | ${1:global \$language; 6 | 7 | if (\$type == LANGUAGE_TYPE_CONTENT && isset(\$links[\$language->language])) { 8 | foreach (\$links[\$language->language] as \$link) { 9 | \$link['attributes']['class'][] = 'active-language'; 10 | \} 11 | \}} 12 | } 13 | 14 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_language_types_info.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_language_types_info(). 3 | */ 4 | function _language_types_info() { 5 | ${1:return array( 6 | 'custom_language_type' => array( 7 | 'name' => t('Custom language'), 8 | 'description' => t('A custom language type.'), 9 | ), 10 | 'fixed_custom_language_type' => array( 11 | 'fixed' => array('custom_language_provider'), 12 | ), 13 | );} 14 | } 15 | 16 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_language_types_info_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_language_types_info_alter(). 3 | */ 4 | function _language_types_info_alter(array &\$language_types) { 5 | ${1:if (isset(\$language_types['custom_language_type'])) { 6 | \$language_types['custom_language_type_custom']['description'] = t('A far better description.'); 7 | \}} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_load.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_load(). 3 | */ 4 | function _load(\$nodes) { 5 | ${1:\$result = db_query('SELECT nid, foo FROM {mytable\} WHERE nid IN (:nids)', array(':nids' => array_keys(\$nodes))); 6 | foreach (\$result as \$record) { 7 | \$nodes[\$record->nid]->foo = \$record->foo; 8 | \}} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_locale.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_locale(). 3 | */ 4 | function _locale(\$op = 'groups') { 5 | ${1:switch (\$op) { 6 | case 'groups': 7 | return array('custom' => t('Custom')); 8 | \}} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_mail_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_mail_alter(). 3 | */ 4 | function _mail_alter(&\$message) { 5 | ${1:if (\$message['id'] == 'modulename_messagekey') { 6 | \$message['body'][] = "--\nMail sent out from " . variable_get('sitename', t('Drupal')); 7 | \}} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_menu_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_menu_alter(). 3 | */ 4 | function _menu_alter(&\$items) { 5 | ${1:// Example - disable the page at node/add 6 | \$items['node/add']['access callback'] = FALSE;} 7 | } 8 | 9 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_menu_delete.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_menu_delete(). 3 | */ 4 | function _menu_delete(\$menu) { 5 | ${1:// Delete the record from our variable. 6 | \$my_menus = variable_get('my_module_menus', array()); 7 | unset(\$my_menus[\$menu['menu_name']]); 8 | variable_set('my_module_menus', \$my_menus);} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_menu_get_item_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_menu_get_item_alter(). 3 | */ 4 | function _menu_get_item_alter(&\$router_item, \$path, \$original_map) { 5 | ${1:// When retrieving the router item for the current path... 6 | if (\$path == \$_GET['q']) { 7 | // ...call a function that prepares something for this request. 8 | mymodule_prepare_something(); 9 | \}} 10 | } 11 | 12 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_menu_insert.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_menu_insert(). 3 | */ 4 | function _menu_insert(\$menu) { 5 | ${1:// For example, we track available menus in a variable. 6 | \$my_menus = variable_get('my_module_menus', array()); 7 | \$my_menus[\$menu['menu_name']] = \$menu['menu_name']; 8 | variable_set('my_module_menus', \$my_menus);} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_menu_link_delete.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_menu_link_delete(). 3 | */ 4 | function _menu_link_delete(\$link) { 5 | ${1:// Delete the record from our table. 6 | db_delete('menu_example') 7 | ->condition('mlid', \$link['mlid']) 8 | ->execute();} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_menu_link_insert.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_menu_link_insert(). 3 | */ 4 | function _menu_link_insert(\$link) { 5 | ${1:// In our sample case, we track menu items as editing sections 6 | // of the site. These are stored in our table as 'disabled' items. 7 | \$record['mlid'] = \$link['mlid']; 8 | \$record['menu_name'] = \$link['menu_name']; 9 | \$record['status'] = 0; 10 | drupal_write_record('menu_example', \$record);} 11 | } 12 | 13 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_menu_site_status_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_menu_site_status_alter(). 3 | */ 4 | function _menu_site_status_alter(&\$menu_site_status, \$path) { 5 | ${1:// Allow access to my_module/authentication even if site is in offline mode. 6 | if (\$menu_site_status == MENU_SITE_OFFLINE && user_is_anonymous() && \$path == 'my_module/authentication') { 7 | \$menu_site_status = MENU_SITE_ONLINE; 8 | \}} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_menu_update.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_menu_update(). 3 | */ 4 | function _menu_update(\$menu) { 5 | ${1:// For example, we track available menus in a variable. 6 | \$my_menus = variable_get('my_module_menus', array()); 7 | \$my_menus[\$menu['menu_name']] = \$menu['menu_name']; 8 | variable_set('my_module_menus', \$my_menus);} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_modules_disabled.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_modules_disabled(). 3 | */ 4 | function _modules_disabled(\$modules) { 5 | ${1:if (in_array('lousy_module', \$modules)) { 6 | mymodule_enable_functionality(); 7 | \}} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_modules_enabled.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_modules_enabled(). 3 | */ 4 | function _modules_enabled(\$modules) { 5 | ${1:if (in_array('lousy_module', \$modules)) { 6 | drupal_set_message(t('mymodule is not compatible with lousy_module'), 'error'); 7 | mymodule_disable_functionality(); 8 | \}} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_modules_installed.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_modules_installed(). 3 | */ 4 | function _modules_installed(\$modules) { 5 | ${1:if (in_array('lousy_module', \$modules)) { 6 | variable_set('lousy_module_conflicting_variable', FALSE); 7 | \}} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_modules_uninstalled.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_modules_uninstalled(). 3 | */ 4 | function _modules_uninstalled(\$modules) { 5 | ${1:foreach (\$modules as \$module) { 6 | db_delete('mymodule_table') 7 | ->condition('module', \$module) 8 | ->execute(); 9 | \} 10 | mymodule_cache_rebuild();} 11 | } 12 | 13 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_multilingual_settings_changed.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_multilingual_settings_changed(). 3 | */ 4 | function _multilingual_settings_changed() { 5 | ${1:field_info_cache_clear();} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_delete.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_delete(). 3 | */ 4 | function _node_delete(\$node) { 5 | ${1:db_delete('mytable') 6 | ->condition('nid', \$node->nid) 7 | ->execute();} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_grants.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_grants(). 3 | */ 4 | function _node_grants(\$account, \$op) { 5 | ${1:if (user_access('access private content', \$account)) { 6 | \$grants['example'] = array(1); 7 | \} 8 | \$grants['example_owner'] = array(\$account->uid); 9 | return \$grants;} 10 | } 11 | 12 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_info.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_info(). 3 | */ 4 | function _node_info() { 5 | ${1:return array( 6 | 'blog' => array( 7 | 'name' => t('Blog entry'), 8 | 'base' => 'blog', 9 | 'description' => t('Use for multi-user blogs. Every user gets a personal blog.'), 10 | ) 11 | );} 12 | } 13 | 14 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_insert.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_insert(). 3 | */ 4 | function _node_insert(\$node) { 5 | ${1:db_insert('mytable') 6 | ->fields(array( 7 | 'nid' => \$node->nid, 8 | 'extra' => \$node->extra, 9 | )) 10 | ->execute();} 11 | } 12 | 13 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_load.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_load(). 3 | */ 4 | function _node_load(\$nodes, \$types) { 5 | ${1:\$result = db_query('SELECT nid, foo FROM {mytable\} WHERE nid IN(:nids)', array(':nids' => array_keys(\$nodes))); 6 | foreach (\$result as \$record) { 7 | \$nodes[\$record->nid]->foo = \$record->foo; 8 | \}} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_prepare.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_prepare(). 3 | */ 4 | function _node_prepare(\$node) { 5 | ${1:if (!isset(\$node->comment)) { 6 | \$node->comment = variable_get("comment_\$node->type", COMMENT_NODE_OPEN); 7 | \}} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_presave.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_presave(). 3 | */ 4 | function _node_presave(\$node) { 5 | ${1:if (\$node->nid && \$node->moderate) { 6 | // Reset votes when node is updated: 7 | \$node->score = 0; 8 | \$node->users = ''; 9 | \$node->votes = 0; 10 | \}} 11 | } 12 | 13 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_revision_delete.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_revision_delete(). 3 | */ 4 | function _node_revision_delete(\$node) { 5 | ${1:db_delete('mytable') 6 | ->condition('vid', \$node->vid) 7 | ->execute();} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_search_result.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_search_result(). 3 | */ 4 | function _node_search_result(\$node) { 5 | ${1:\$comments = db_query('SELECT comment_count FROM {node_comment_statistics\} WHERE nid = :nid', array('nid' => \$node->nid))->fetchField(); 6 | return format_plural(\$comments, '1 comment', '@count comments');} 7 | } 8 | 9 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_type_delete.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_type_delete(). 3 | */ 4 | function _node_type_delete(\$info) { 5 | ${1:variable_del('comment_' . \$info->type);} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_type_insert.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_type_insert(). 3 | */ 4 | function _node_type_insert(\$info) { 5 | $1 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_type_update.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_type_update(). 3 | */ 4 | function _node_type_update(\$info) { 5 | ${1:if (!empty(\$info->old_type) && \$info->old_type != \$info->type) { 6 | \$setting = variable_get('comment_' . \$info->old_type, COMMENT_NODE_OPEN); 7 | variable_del('comment_' . \$info->old_type); 8 | variable_set('comment_' . \$info->type, \$setting); 9 | \}} 10 | } 11 | 12 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_update.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_update(). 3 | */ 4 | function _node_update(\$node) { 5 | ${1:db_update('mytable') 6 | ->fields(array('extra' => \$node->extra)) 7 | ->condition('nid', \$node->nid) 8 | ->execute();} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_validate.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_validate(). 3 | */ 4 | function _node_validate(\$node, \$form, &\$form_state) { 5 | ${1:if (isset(\$node->end) && isset(\$node->start)) { 6 | if (\$node->start > \$node->end) { 7 | form_set_error('time', t('An event may not end before it starts.')); 8 | \} 9 | \}} 10 | } 11 | 12 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_view.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_view(). 3 | */ 4 | function _node_view(\$node, \$view_mode, \$langcode) { 5 | ${1:\$node->content['my_additional_field'] = array( 6 | '#markup' => \$additional_field, 7 | '#weight' => 10, 8 | '#theme' => 'mymodule_my_additional_field', 9 | );} 10 | } 11 | 12 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_node_view_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_view_alter(). 3 | */ 4 | function _node_view_alter(&\$build) { 5 | ${1:if (\$build['#view_mode'] == 'full' && isset(\$build['an_additional_field'])) { 6 | // Change its weight. 7 | \$build['an_additional_field']['#weight'] = -10; 8 | \} 9 | 10 | // Add a #post_render callback to act on the rendered HTML of the node. 11 | \$build['#post_render'][] = 'my_module_node_post_render';} 12 | } 13 | 14 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_openid.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_openid(). 3 | */ 4 | function _openid(\$op, \$request) { 5 | ${1:if (\$op == 'request') { 6 | \$request['openid.identity'] = 'http://myname.myopenid.com/'; 7 | \} 8 | return \$request;} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_openid_discovery_method_info.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_openid_discovery_method_info(). 3 | */ 4 | function _openid_discovery_method_info() { 5 | ${1:return array( 6 | 'new_discovery_idea' => '_my_discovery_method', 7 | );} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_openid_discovery_method_info_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_openid_discovery_method_info_alter(). 3 | */ 4 | function _openid_discovery_method_info_alter(&\$methods) { 5 | ${1:// Remove XRI discovery scheme. 6 | unset(\$methods['xri']);} 7 | } 8 | 9 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_openid_normalization_method_info.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_openid_normalization_method_info(). 3 | */ 4 | function _openid_normalization_method_info() { 5 | ${1:return array( 6 | 'new_normalization_idea' => '_my_normalization_method', 7 | );} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_openid_normalization_method_info_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_openid_normalization_method_info_alter(). 3 | */ 4 | function _openid_normalization_method_info_alter(&\$methods) { 5 | ${1:// Remove Google IDP normalization. 6 | unset(\$methods['google_idp']);} 7 | } 8 | 9 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_openid_response.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_openid_response(). 3 | */ 4 | function _openid_response(\$response, \$account) { 5 | ${1:if (isset(\$response['openid.ns.ax'])) { 6 | _mymodule_store_ax_fields(\$response, \$account); 7 | \}} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_overlay_child_initialize.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_overlay_child_initialize(). 3 | */ 4 | function _overlay_child_initialize() { 5 | ${1:// Add our custom JavaScript. 6 | drupal_add_js(drupal_get_path('module', 'hook') . '/hook-overlay-child.js');} 7 | } 8 | 9 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_overlay_parent_initialize.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_overlay_parent_initialize(). 3 | */ 4 | function _overlay_parent_initialize() { 5 | ${1:// Add our custom JavaScript. 6 | drupal_add_js(drupal_get_path('module', 'hook') . '/hook-overlay.js');} 7 | } 8 | 9 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_page_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_page_alter(). 3 | */ 4 | function _page_alter(&\$page) { 5 | ${1:// Add help text to the user login block. 6 | \$page['sidebar_first']['user_login']['help'] = array( 7 | '#weight' => -10, 8 | '#markup' => t('To post comments or add new content, you first have to log in.'), 9 | );} 10 | } 11 | 12 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_page_build.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_page_build(). 3 | */ 4 | function _page_build(&\$page) { 5 | ${1:if (menu_get_object('node', 1)) { 6 | // We are on a node detail page. Append a standard disclaimer to the 7 | // content region. 8 | \$page['content']['disclaimer'] = array( 9 | '#markup' => t('Acme, Inc. is not responsible for the contents of this sample code.'), 10 | '#weight' => 25, 11 | ); 12 | \}} 13 | } 14 | 15 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_path_delete.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_path_delete(). 3 | */ 4 | function _path_delete(\$path) { 5 | ${1:db_delete('mytable') 6 | ->condition('pid', \$path['pid']) 7 | ->execute();} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_path_insert.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_path_insert(). 3 | */ 4 | function _path_insert(\$path) { 5 | ${1:db_insert('mytable') 6 | ->fields(array( 7 | 'alias' => \$path['alias'], 8 | 'pid' => \$path['pid'], 9 | )) 10 | ->execute();} 11 | } 12 | 13 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_path_update.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_path_update(). 3 | */ 4 | function _path_update(\$path) { 5 | ${1:db_update('mytable') 6 | ->fields(array('alias' => \$path['alias'])) 7 | ->condition('pid', \$path['pid']) 8 | ->execute();} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_permission.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_permission(). 3 | */ 4 | function _permission() { 5 | ${1:return array( 6 | 'administer my module' => array( 7 | 'title' => t('Administer my module'), 8 | 'description' => t('Perform administration tasks for my module.'), 9 | ), 10 | );} 11 | } 12 | 13 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_preprocess_HOOK.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_preprocess_HOOK(). 3 | */ 4 | function _preprocess_HOOK(&\$variables) { 5 | ${1:// This example is from rdf_preprocess_image(). It adds an RDF attribute 6 | // to the image hook's variables. 7 | \$variables['attributes']['typeof'] = array('foaf:Image');} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_process_HOOK.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_process_HOOK(). 3 | */ 4 | function _process_HOOK(&\$variables) { 5 | ${1:\$variables['classes'] .= ' my_added_class';} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_query_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_query_alter(). 3 | */ 4 | function _query_alter(QueryAlterableInterface \$query) { 5 | ${1:if (\$query->hasTag('micro_limit')) { 6 | \$query->range(0, 2); 7 | \}} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_schema_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_schema_alter(). 3 | */ 4 | function _schema_alter(&\$schema) { 5 | ${1:// Add field to existing schema. 6 | \$schema['users']['fields']['timezone_id'] = array( 7 | 'type' => 'int', 8 | 'not null' => TRUE, 9 | 'default' => 0, 10 | 'description' => 'Per-user timezone configuration.', 11 | );} 12 | } 13 | 14 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_search_access.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_search_access(). 3 | */ 4 | function _search_access() { 5 | ${1:return user_access('access content');} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_search_info.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_search_info(). 3 | */ 4 | function _search_info() { 5 | ${1:return array( 6 | 'title' => 'Content', 7 | 'path' => 'node', 8 | 'conditions_callback' => 'sample_search_conditions_callback', 9 | );} 10 | } 11 | 12 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_search_preprocess.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_search_preprocess(). 3 | */ 4 | function _search_preprocess(\$text) { 5 | ${1:// Do processing on \$text 6 | return \$text;} 7 | } 8 | 9 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_search_reset.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_search_reset(). 3 | */ 4 | function _search_reset() { 5 | ${1:db_update('search_dataset') 6 | ->fields(array('reindex' => REQUEST_TIME)) 7 | ->condition('type', 'node') 8 | ->execute();} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_shortcut_default_set.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_shortcut_default_set(). 3 | */ 4 | function _shortcut_default_set(\$account) { 5 | ${1:// Use a special set of default shortcuts for administrators only. 6 | if (in_array(variable_get('user_admin_role', 0), \$account->roles)) { 7 | return variable_get('mymodule_shortcut_admin_default_set'); 8 | \}} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_simpletest_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_simpletest_alter(). 3 | */ 4 | function _simpletest_alter(&\$groups) { 5 | ${1:// An alternative session handler module would not want to run the original 6 | // Session https handling test because it checks the sessions table in the 7 | // database. 8 | unset(\$groups['Session']['testHttpsSession']);} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_stream_wrappers_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_stream_wrappers_alter(). 3 | */ 4 | function _stream_wrappers_alter(&\$wrappers) { 5 | ${1:// Change the name of private files to reflect the performance. 6 | \$wrappers['private']['name'] = t('Slow files');} 7 | } 8 | 9 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_system_info_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_system_info_alter(). 3 | */ 4 | function _system_info_alter(&\$info, \$file, \$type) { 5 | ${1:// Only fill this in if the .info file does not define a 'datestamp'. 6 | if (empty(\$info['datestamp'])) { 7 | \$info['datestamp'] = filemtime(\$file->filename); 8 | \}} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_taxonomy_term_delete.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_taxonomy_term_delete(). 3 | */ 4 | function _taxonomy_term_delete(\$term) { 5 | ${1:db_delete('term_synoynm')->condition('tid', \$term->tid)->execute();} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_taxonomy_term_load.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_taxonomy_term_load(). 3 | */ 4 | function _taxonomy_term_load(\$terms) { 5 | ${1:\$result = db_query('SELECT tid, foo FROM {mytable\} WHERE tid IN (:tids)', array(':tids' => array_keys(\$terms))); 6 | foreach (\$result as \$record) { 7 | \$terms[\$record->tid]->foo = \$record->foo; 8 | \}} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_taxonomy_term_presave.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_taxonomy_term_presave(). 3 | */ 4 | function _taxonomy_term_presave(\$term) { 5 | ${1:\$term->foo = 'bar';} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_taxonomy_vocabulary_delete.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_taxonomy_vocabulary_delete(). 3 | */ 4 | function _taxonomy_vocabulary_delete(\$vocabulary) { 5 | ${1:if (variable_get('taxonomy_' . \$vocabulary->vid . '_synonyms', FALSE)) { 6 | variable_del('taxonomy_' . \$vocabulary->vid . '_synonyms'); 7 | \}} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_taxonomy_vocabulary_insert.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_taxonomy_vocabulary_insert(). 3 | */ 4 | function _taxonomy_vocabulary_insert(\$vocabulary) { 5 | ${1:if (\$vocabulary->synonyms) { 6 | variable_set('taxonomy_' . \$vocabulary->vid . '_synonyms', TRUE); 7 | \}} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_taxonomy_vocabulary_load.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_taxonomy_vocabulary_load(). 3 | */ 4 | function _taxonomy_vocabulary_load(\$vocabularies) { 5 | ${1:foreach (\$vocabularies as \$vocabulary) { 6 | \$vocabulary->synonyms = variable_get('taxonomy_' . \$vocabulary->vid . '_synonyms', FALSE); 7 | \}} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_taxonomy_vocabulary_presave.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_taxonomy_vocabulary_presave(). 3 | */ 4 | function _taxonomy_vocabulary_presave(\$vocabulary) { 5 | ${1:\$vocabulary->foo = 'bar';} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_taxonomy_vocabulary_update.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_taxonomy_vocabulary_update(). 3 | */ 4 | function _taxonomy_vocabulary_update(\$vocabulary) { 5 | ${1:\$status = \$vocabulary->synonyms ? TRUE : FALSE; 6 | if (\$vocabulary->synonyms) { 7 | variable_set('taxonomy_' . \$vocabulary->vid . '_synonyms', \$status); 8 | \}} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_test_finished.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_test_finished(). 3 | */ 4 | function _test_finished(\$results) { 5 | $1 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_test_group_finished.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_test_group_finished(). 3 | */ 4 | function _test_group_finished() { 5 | $1 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_test_group_started.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_test_group_started(). 3 | */ 4 | function _test_group_started() { 5 | $1 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_themes_disabled.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_themes_disabled(). 3 | */ 4 | function _themes_disabled(\$theme_list) { 5 | ${1:// Clear all update module caches. 6 | _update_cache_clear();} 7 | } 8 | 9 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_themes_enabled.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_themes_enabled(). 3 | */ 4 | function _themes_enabled(\$theme_list) { 5 | ${1:foreach (\$theme_list as \$theme) { 6 | block_theme_initialize(\$theme); 7 | \}} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_translated_menu_link_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_translated_menu_link_alter(). 3 | */ 4 | function _translated_menu_link_alter(&\$item, \$map) { 5 | ${1:if (\$item['href'] == 'devel/cache/clear') { 6 | \$item['localized_options']['query'] = drupal_get_destination(); 7 | \}} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_trigger_info_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_trigger_info_alter(). 3 | */ 4 | function _trigger_info_alter(&\$triggers) { 5 | ${1:\$triggers['node']['node_insert']['label'] = t('When content is saved');} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_uninstall.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_uninstall(). 3 | */ 4 | function _uninstall() { 5 | ${1:variable_del('upload_file_types');} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_update.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_update(). 3 | */ 4 | function _update(\$node) { 5 | ${1:db_update('mytable') 6 | ->fields(array('extra' => \$node->extra)) 7 | ->condition('nid', \$node->nid) 8 | ->execute();} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_update_last_removed.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_update_last_removed(). 3 | */ 4 | function _update_last_removed() { 5 | ${1:// We've removed the 5.x-1.x version of mymodule, including database updates. 6 | // The next update function is mymodule_update_5200(). 7 | return 5103;} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_updater_info.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_updater_info(). 3 | */ 4 | function _updater_info() { 5 | ${1:return array( 6 | 'module' => array( 7 | 'class' => 'ModuleUpdater', 8 | 'name' => t('Update modules'), 9 | 'weight' => 0, 10 | ), 11 | 'theme' => array( 12 | 'class' => 'ThemeUpdater', 13 | 'name' => t('Update themes'), 14 | 'weight' => 0, 15 | ), 16 | );} 17 | } 18 | 19 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_updater_info_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_updater_info_alter(). 3 | */ 4 | function _updater_info_alter(&\$updaters) { 5 | ${1:// Adjust weight so that the theme Updater gets a chance to handle a given 6 | // update task before module updaters. 7 | \$updaters['theme']['weight'] = -1;} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_url_inbound_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_url_inbound_alter(). 3 | */ 4 | function _url_inbound_alter(&\$path, \$original_path, \$path_language) { 5 | ${1:// Create the path user/me/edit, which allows a user to edit their account. 6 | if (preg_match('|^user/me/edit(/.*)?|', \$path, \$matches)) { 7 | global \$user; 8 | \$path = 'user/' . \$user->uid . '/edit' . \$matches[1]; 9 | \}} 10 | } 11 | 12 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_user_categories.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_user_categories(). 3 | */ 4 | function _user_categories() { 5 | ${1:return array(array( 6 | 'name' => 'account', 7 | 'title' => t('Account settings'), 8 | 'weight' => 1, 9 | ));} 10 | } 11 | 12 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_user_delete.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_user_delete(). 3 | */ 4 | function _user_delete(\$account) { 5 | ${1:db_delete('mytable') 6 | ->condition('uid', \$account->uid) 7 | ->execute();} 8 | } 9 | 10 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_user_insert.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_user_insert(). 3 | */ 4 | function _user_insert(&\$edit, \$account, \$category) { 5 | ${1:db_insert('mytable') 6 | ->fields(array( 7 | 'myfield' => \$edit['myfield'], 8 | 'uid' => \$account->uid, 9 | )) 10 | ->execute();} 11 | } 12 | 13 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_user_load.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_user_load(). 3 | */ 4 | function _user_load(\$users) { 5 | ${1:\$result = db_query('SELECT * FROM {my_table\} WHERE uid IN (:uids)', array(':uids' => array_keys(\$users))); 6 | foreach (\$result as \$record) { 7 | \$users[\$record->uid]->foo = \$result->foo; 8 | \}} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_user_logout.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_user_logout(). 3 | */ 4 | function _user_logout(\$account) { 5 | ${1:db_insert('logouts') 6 | ->fields(array( 7 | 'uid' => \$account->uid, 8 | 'time' => time(), 9 | )) 10 | ->execute();} 11 | } 12 | 13 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_user_presave.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_user_presave(). 3 | */ 4 | function _user_presave(&\$edit, \$account, \$category) { 5 | ${1:// Make sure that our form value 'mymodule_foo' is stored as 'mymodule_bar'. 6 | if (isset(\$edit['mymodule_foo'])) { 7 | \$edit['data']['my_module_foo'] = \$edit['my_module_foo']; 8 | \}} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_user_role_delete.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_user_role_delete(). 3 | */ 4 | function _user_role_delete(\$role) { 5 | ${1:// Delete existing instances of the deleted role. 6 | db_delete('my_module_table') 7 | ->condition('rid', \$role->rid) 8 | ->execute();} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_user_role_insert.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_user_role_insert(). 3 | */ 4 | function _user_role_insert(\$role) { 5 | ${1:// Save extra fields provided by the module to user roles. 6 | db_insert('my_module_table') 7 | ->fields(array( 8 | 'rid' => \$role->rid, 9 | 'role_description' => \$role->description, 10 | )) 11 | ->execute();} 12 | } 13 | 14 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_user_role_update.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_user_role_update(). 3 | */ 4 | function _user_role_update(\$role) { 5 | ${1:// Save extra fields provided by the module to user roles. 6 | db_merge('my_module_table') 7 | ->key(array('rid' => \$role->rid)) 8 | ->fields(array( 9 | 'role_description' => \$role->description 10 | )) 11 | ->execute();} 12 | } 13 | 14 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_user_update.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_user_update(). 3 | */ 4 | function _user_update(&\$edit, \$account, \$category) { 5 | ${1:db_insert('user_changes') 6 | ->fields(array( 7 | 'uid' => \$account->uid, 8 | 'changed' => time(), 9 | )) 10 | ->execute();} 11 | } 12 | 13 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_username_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_username_alter(). 3 | */ 4 | function _username_alter(&\$name, \$account) { 5 | ${1:// Display the user's uid instead of name. 6 | if (isset(\$account->uid)) { 7 | \$name = t('User !uid', array('!uid' => \$account->uid)); 8 | \}} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_validate.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_validate(). 3 | */ 4 | function _validate(\$node, \$form, &\$form_state) { 5 | ${1:if (isset(\$node->end) && isset(\$node->start)) { 6 | if (\$node->start > \$node->end) { 7 | form_set_error('time', t('An event may not end before it starts.')); 8 | \} 9 | \}} 10 | } 11 | 12 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_verify_update_archive.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_verify_update_archive(). 3 | */ 4 | function _verify_update_archive(\$project, \$archive_file, \$directory) { 5 | ${1:\$errors = array(); 6 | if (!file_exists(\$directory)) { 7 | \$errors[] = t('The %directory does not exist.', array('%directory' => \$directory)); 8 | \} 9 | // Add other checks on the archive integrity here. 10 | return \$errors;} 11 | } 12 | 13 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/hooks/7/hook_xmlrpc.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_xmlrpc(). 3 | */ 4 | function _xmlrpc() { 5 | ${1:return array( 6 | 'drupal.login' => 'drupal_login', 7 | array( 8 | 'drupal.site.ping', 9 | 'drupal_directory_ping', 10 | array('boolean', 'string', 'string', 'string', 'string', 'string'), 11 | t('Handling ping request')) 12 | );} 13 | } 14 | 15 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/theme/6/theme_box.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements theme_box(). 3 | */ 4 | function _box(\$title, \$content, \$region = 'main') { 5 | ${1:\$output = '
'. l(t('More information about formatting options'), 'filter/tips') .'
';} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/theme/6/theme_help.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements theme_help(). 3 | */ 4 | function _help() { 5 | ${1:if (\$help = menu_get_active_help()) { 6 | return '' . l(t('More information about text formats'), 'filter/tips') . '
';} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/theme/7/theme_form_required_marker.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements theme_form_required_marker(). 3 | */ 4 | function _form_required_marker(\$variables) { 5 | ${1:// This is also used in the installer, pre-database setup. 6 | \$t = get_t(); 7 | \$attributes = array( 8 | 'class' => 'form-required', 9 | 'title' => \$t('This field is required.'), 10 | ); 11 | return '*';} 12 | } 13 | 14 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/theme/7/theme_forum_form.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements theme_forum_form(). 3 | */ 4 | function _forum_form(\$variables) { 5 | ${1:return drupal_render_children(\$variables['form']);} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/theme/7/theme_get_registry.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements theme_get_registry(). 3 | */ 4 | function _get_registry() { 5 | ${1:static \$theme_registry = NULL; 6 | 7 | if (!isset(\$theme_registry)) { 8 | list(\$callback, \$arguments) = _theme_registry_callback(); 9 | \$theme_registry = call_user_func_array(\$callback, \$arguments); 10 | \} 11 | 12 | return \$theme_registry;} 13 | } 14 | 15 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/theme/7/theme_hidden.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements theme_hidden(). 3 | */ 4 | function _hidden(\$variables) { 5 | ${1:\$element = \$variables['element']; 6 | \$element['#attributes']['type'] = 'hidden'; 7 | element_set_attributes(\$element, array('name', 'value')); 8 | return '\n";} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/theme/7/theme_image_crop_summary.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements theme_image_crop_summary(). 3 | */ 4 | function _image_crop_summary(\$variables) { 5 | ${1:return theme('image_resize_summary', \$variables);} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/theme/7/theme_image_rotate_summary.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements theme_image_rotate_summary(). 3 | */ 4 | function _image_rotate_summary(\$variables) { 5 | ${1:\$data = \$variables['data']; 6 | return (\$data['random']) ? t('random between -@degrees° and @degrees°', array('@degrees' => str_replace('-', '', \$data['degrees']))) : t('@degrees°', array('@degrees' => \$data['degrees']));} 7 | } 8 | 9 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/theme/7/theme_image_scale_summary.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements theme_image_scale_summary(). 3 | */ 4 | function _image_scale_summary(\$variables) { 5 | ${1:\$data = \$variables['data']; 6 | return theme('image_resize_summary', array('data' => \$data)) . ' ' . (\$data['upscale'] ? '(' . t('upscaling allowed') . ')' : '');} 7 | } 8 | 9 | $2 -------------------------------------------------------------------------------- /Support/commands/generated/theme/7/theme_indentation.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements theme_indentation(). 3 | */ 4 | function _indentation(\$variables) { 5 | ${1:\$output = ''; 6 | for (\$n = 0; \$n < \$variables['size']; \$n++) { 7 | \$output .= ''. t('$2') .'
'}; 8 | }$3 9 | } 10 | 11 | $4 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/5/hook_load.5.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_load(). 3 | */ 4 | function _load(&\$node) { 5 | ${1:return db_fetch_object(db_query('${2:SELECT ${3:*} FROM {${4:}\} WHERE nid = %s$5}', ${6:\$node->nid}));} 6 | } 7 | 8 | $7 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/5/hook_menu.5.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_menu(). 3 | */ 4 | function _menu(\$may_cache) { 5 | \$items = array(); 6 | 7 | if (\$may_cache) { 8 | ${1:// Type '\$item ⇥' to create a default menu item here.} 9 | }${2: 10 | else { 11 | ${3:// Insert menu items specific to the current request here.} 12 | \}} 13 | return \$items; 14 | } 15 | 16 | $4 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/5/hook_node_info.5.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_info(). 3 | */ 4 | function _node_info() { 5 | return array( 6 | '' => array( 7 | 'name' => t('${1:}'), 8 | 'module' => '${2:}', 9 | 'description' => t('${3:A is a pretty simple content type that just works.}'),$4 10 | ),$5 11 | ); 12 | } 13 | 14 | $6 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/5/hook_perm.5.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_perm(). 3 | */ 4 | function _perm() { 5 | return array('${1:administer }$2'); 6 | } 7 | 8 | $3 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/5/hook_update_N.5.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_update_N(). 3 | */ 4 | function _update_${1:N}() { 5 | \$ret = array(); 6 | 7 | ${2:// Update code goes here.} 8 | 9 | return \$ret; 10 | } 11 | 12 | $3 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/5/hook_user.5.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_user(). 3 | */ 4 | function _user(\$op, &\$edit, &\$account, \$category = NULL) { 5 | ${1:// Codes goes here.} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_access.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * $1 3 | */ 4 | function _access(\$op, \$node, \$account) { 5 | if (\$op == 'create') { 6 | return user_access('create stories', \$account); 7 | } 8 | 9 | if (\$op == 'update' || \$op == 'delete') { 10 | if (user_access('edit own stories', \$account) && (\$account->uid == \$node->uid)) { 11 | return TRUE; 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_action_info_alter.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_action_info_alter(). 3 | */ 4 | function _action_info_alter(&\$actions) { 5 | \$actions['${1:${2:_action}}']['description'] = t('${3:Unpublish and remove from public view.}'); 6 | } 7 | 8 | $4 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_actions_delete.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_actions_delete(). 3 | */ 4 | function _actions_delete(\$aid) { 5 | ${1:db_query("DELETE FROM {${2:actions_assignments}\} WHERE aid = '%s'", \$aid);} 6 | } 7 | 8 | $3 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_boot.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_boot(). 3 | */ 4 | function _boot() { 5 | ${1:// Code goes here.} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_comment.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_comment(). 3 | */ 4 | function _comment(&\$a1, \$op) { 5 | ${1:// Codes goes here.} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_delete.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_delete(). 3 | */ 4 | function _delete(&\$node) { 5 | ${1:db_query('DELETE FROM \{mytable\} WHERE nid = %d', \$node->nid);} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_field_formatter_info.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_field_formatter_info(). 3 | * 4 | * Declare the field formatters provided by the module. 5 | */ 6 | function _field_formatter_info() { 7 | \$formatters = array(); 8 | \$formatters['$1'] = array( 9 | 'label' => t('$2'), 10 | 'field types' => array('$3'), 11 | ); 12 | $4 13 | return \$formatters; 14 | } 15 | 16 | $5 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_form.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_form(). 3 | */ 4 | function _form(&\$node, \$form_state) { 5 | \$form = array(); 6 | \$type = node_get_types('type', \$node); 7 | 8 | \$form['title'] = array( 9 | '#type'=> 'textfield', 10 | '#title' => check_plain(\$type->title_label), 11 | '#required' => TRUE, 12 | ); 13 | 14 | return \$form; 15 | } 16 | 17 | $1 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_form_FORM_ID_alter.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_form_FORM_ID_alter(). 3 | */ 4 | function _form_FORM_ID_alter(&\$form, &\$form_state) {${1: 5 | ${2:// Form modification code goes here.}} 6 | } 7 | 8 | $6 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_form_alter.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_form_alter(). 3 | */ 4 | function _form_alter(&\$form, &\$form_state, \$form_id) {${1: 5 | switch (\$form_id) { 6 | case '${2:form_id}': 7 | ${3:// Form modification code goes here.} 8 | break; 9 | \}} 10 | } 11 | 12 | $6 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_forms.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_forms(). 3 | */ 4 | function _forms(\$form_id, \$args) { 5 | ${1:\$forms['mymodule_first_form'] = array( 6 | 'callback' => 'mymodule_main_form', 7 | 'callback arguments' => array('some parameter'), 8 | 'wrapper_callback' => 'mymodule_main_form_wrapper', 9 | );} 10 | 11 | return \$forms; 12 | } 13 | 14 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_help.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_help(). 3 | */ 4 | function _help(\$path, \$arg) { 5 | switch (\$path) { 6 | case 'admin/help#': 7 | return ${1:''. t('$2') .'
'}; 8 | }$3 9 | } 10 | 11 | $4 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_install.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_install(). 3 | */ 4 | function _install() { 5 | ${0:drupal_install_schema('');} 6 | } 7 | 8 | $1 9 | 10 | -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_link_alter.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_link_alter(). 3 | */ 4 | function _link_alter(&\$links, \$node) { 5 | $1 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_load.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_load(). 3 | */ 4 | function _load(&\$node) { 5 | ${1:return db_fetch_object(db_query('${2:SELECT ${3:*} FROM {${4:}\} WHERE nid = %s$5}', ${6:\$node->nid}));} 6 | } 7 | 8 | $7 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_locale.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_locale(). 3 | */ 4 | function _locale(\$op = 'groups') { 5 | ${1:switch (\$op) { 6 | case 'groups': 7 | return array('custom' => t('Custom')); 8 | \}} 9 | } 10 | 11 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_menu.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_menu(). 3 | */ 4 | function _menu() { 5 | \$items = array(); 6 | 7 | ${0:// Type '\$item ⇥' to create a new menu item.} 8 | 9 | return \$items; 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_node_info.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_node_info(). 3 | */ 4 | function _node_info() { 5 | return array( 6 | '' => array( 7 | 'name' => t('${1:}'), 8 | 'module' => '${2:}', 9 | 'description' => t('${3:A is a pretty simple content type that just works.}'),$4 10 | ),$5 11 | ); 12 | } 13 | 14 | $6 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_perm.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_perm(). 3 | */ 4 | function _perm() { 5 | return array('${1:administer }$2'); 6 | } 7 | 8 | $3 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_schema.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_schema(). 3 | */ 4 | function _schema() { 5 | \$schema = array(); 6 | ${0:// Type '\$schema ⇥' to create a new database table schema.} 7 | ${0:// Type '\$field ⇥' to create a new field in the table.} 8 | return \$schema; 9 | } 10 | 11 | $1 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_strongarm.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_strongarm(). 3 | */ 4 | function _strongarm() { 5 | \$conf = array($2); 6 | 7 | return \$conf; 8 | } 9 | 10 | $3 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_theme.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_theme(). 3 | */ 4 | function _theme(\$existing, \$type, \$theme, \$path) { 5 | return array( 6 | '${1:example}' => array( 7 | 'arguments' => array('${2:arg0}' => NULL, '${3:arg1}' => NULL), 8 | 'template' => '${4:example}', 9 | ), 10 | ); 11 | } 12 | 13 | $5 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_theme_registry_alter.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_theme_registry_alter(). 3 | */ 4 | function _theme_registry_alter(&\$registry) { 5 | $1 6 | } 7 | 8 | $0 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_uninstall.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_uninstall(). 3 | */ 4 | function _uninstall() { 5 | ${0:drupal_uninstall_schema('');} 6 | } 7 | 8 | $1 9 | 10 | -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_update_N.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * ${1:Implements hook_update_N().} 3 | */ 4 | function _update_${2:N}(${3:&\$sandbox}) { 5 | \$ret = array(); 6 | 7 | ${4:// Update code goes here.} 8 | 9 | return \$ret; 10 | } 11 | 12 | $5 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_user.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_user(). 3 | */ 4 | function _user(\$op, &\$edit, &\$account, \$category = NULL) { 5 | ${1:// Codes goes here.} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_admin_links_alter.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_admin_links_alter(). 3 | */ 4 | function _views_admin_links_alter(&\$links, \$view) {${1: 5 | switch (\$view->name) { 6 | case '${2:view_name}': 7 | ${3:// Link alter goes here.} 8 | break; 9 | \}} 10 | } 11 | 12 | $4 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_api.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_api(). 3 | */ 4 | function _views_api() { 5 | return array( 6 | 'api' => ${1:1},${2: 7 | 'path' => ${3:drupal_get_path('module', '') . '/views'},} 8 | ); 9 | } 10 | 11 | $4 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_convert.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_convert(). 3 | */ 4 | function _views_convert() { 5 | ${1:// Code goes here} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_data.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_data(). 3 | */ 4 | function _views_data() { 5 | ${1: // Code goes here. See example at http://views.doc.logrus.com/group__views__hooks.html#g227057901681e4a33e33c199c7a8c989} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_default_views_alter.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_default_views_alter(). 3 | */ 4 | function _views_default_views_alter(&\$views) { 5 | ${1:// View modification code goes here.} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_handlers.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_handlers(). 3 | */ 4 | function _views_handlers() { 5 | ${1:// Code goes here.} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_plugins.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_plugins(). 3 | */ 4 | function _views_plugins() { 5 | ${1:// Code modification code goes here.} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_post_render.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_post_render(). 3 | */ 4 | function _views_post_render(&\$view, &\$output, &\$cache) { 5 | switch (\$view->name) { 6 | case '${1:view_name}': 7 | ${2:// View modification code goes here.} 8 | break; 9 | } 10 | } 11 | 12 | $3 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_pre_build.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_pre_build(). 3 | */ 4 | function _views_pre_build(&\$view) { 5 | switch (\$view->name) { 6 | case '${1:view_name}': 7 | ${2:// View modification code goes here.} 8 | break; 9 | } 10 | } 11 | 12 | $3 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_pre_execute.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_pre_execute(). 3 | */ 4 | function _views_pre_execute(&\$view) { 5 | switch (\$view->name) { 6 | case '${1:view_name}': 7 | ${2:// View modification code goes here.} 8 | break; 9 | } 10 | } 11 | 12 | $3 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_pre_render.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_pre_render(). 3 | */ 4 | function _views_pre_render(&\$view) { 5 | switch (\$view->name) { 6 | case '${1:view_name}': 7 | ${2:// View modification code goes here.} 8 | break; 9 | } 10 | } 11 | 12 | $3 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_pre_view.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_pre_view(). 3 | */ 4 | function _views_pre_view(&\$view, &\$display_id, &\$args) { 5 | switch (\$view->name) { 6 | case '${1:view_name}': 7 | ${2:// View modification code goes here.} 8 | break; 9 | } 10 | } 11 | 12 | $3 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_preview_info_alter.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_preview_info_alter(). 3 | */ 4 | function _views_preview_info_alter(&\$rows, \$view) { 5 | switch (\$view->name) { 6 | case '${1:view_name}': 7 | ${2:// Rows modification code goes here.} 8 | break; 9 | } 10 | } 11 | 12 | $3 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_query_alter.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_query_alter(). 3 | */ 4 | function _views_query_alter(&\$view, &\$query)) { 5 | switch (\$view->name) { 6 | case '${1:view_name}': 7 | ${2:// Code goes here.} 8 | break; 9 | } 10 | } 11 | 12 | $3 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/6/hook_views_query_substitutions.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_query_substitutions(). 3 | */ 4 | function _views_query_substitutions() { 5 | ${1:// Code goes here} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/7/hook_admin_paths.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_admin_paths(). 3 | */ 4 | function _admin_paths() { 5 | ${1:\$paths = array( 6 | 'mymodule/*/add' => TRUE, 7 | 'mymodule/*/edit' => TRUE, 8 | ); 9 | return \$paths;} 10 | } 11 | 12 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/7/hook_block_info.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_block_info(). 3 | */ 4 | function _block_info() { 5 | ${1:// This example comes from node.module. 6 | \$blocks['syndicate'] = array( 7 | 'info' => t('Syndicate'), 8 | 'cache' => DRUPAL_NO_CACHE 9 | ); 10 | 11 | \$blocks['recent'] = array( 12 | 'info' => t('Recent content'), 13 | // DRUPAL_CACHE_PER_ROLE will be assumed. 14 | ); 15 | 16 | return \$blocks;} 17 | } 18 | 19 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/7/hook_theme.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_theme(). 3 | */ 4 | function _theme(\$existing, \$type, \$theme, \$path) { 5 | return array( 6 | '${1:example}' => array( 7 | 'variables' => array('${2:arg0}' => NULL, '${3:arg1}' => NULL), 8 | 'template' => '${4:example}', 9 | ), 10 | ); 11 | } 12 | 13 | $5 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/7/hook_views_api.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_api(). 3 | */ 4 | function _views_api() { 5 | return array( 6 | 'api' => ${1:3},${2, 7 | 'path' => drupal_get_path('module', '') . '${3:/includes/views}', 8 | ); 9 | } 10 | 11 | $4 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/7/hook_views_data.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_data(). 3 | */ 4 | function _views_data() { 5 | ${1: // Code goes here. See example at http://views.doc.logrus.com/group__views__hooks.html#g227057901681e4a33e33c199c7a8c989} 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/hooks/7/hook_views_data_alter.7.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Implements hook_views_data_alter(). 3 | */ 4 | function _views_data_alter(&\$data) { 5 | \$data['$1'] 6 | } 7 | 8 | $2 -------------------------------------------------------------------------------- /Support/commands/overrides/js/6/js_behaviors.6.php: -------------------------------------------------------------------------------- 1 | Drupal.behaviors.${1:} = function (context) { 2 | $0 3 | } -------------------------------------------------------------------------------- /Support/commands/overrides/js/7/js_behaviors.7.php: -------------------------------------------------------------------------------- 1 | Drupal.behaviors.${1:} = { 2 | attach: function (context) { 3 | $0 4 | } 5 | }; -------------------------------------------------------------------------------- /Support/commands/overrides/js/7/js_reference.7.php: -------------------------------------------------------------------------------- 1 | (function (\$) { 2 | 3 | $0 4 | 5 | })(jQuery); 6 | -------------------------------------------------------------------------------- /Support/commands/overrides/menu/5/menu_item.5.php: -------------------------------------------------------------------------------- 1 | \$items[] = array( 2 | 'path' => '${1:admin/settings/}', 3 | 'title' => t('${2:Menu item}'), 4 | 'description' => t('${3:The description of the menu item. It is used as title attribute and on the administration overview page.}'), 5 | 'callback' => '${4:drupal_get_form}', 6 | 'callback arguments' => array($5), 7 | 'access' => user_access('${6:administer }$7'), 8 | 'type' => ${8:MENU_NORMAL_ITEM},$9 9 | ); 10 | $10 -------------------------------------------------------------------------------- /Support/commands/overrides/menu/6/menu_item.6.php: -------------------------------------------------------------------------------- 1 | \$items['${1:admin/settings/}'] = array( 2 | 'title' => '${2:Menu item}', 3 | 'description' => '${3:The description of the menu item. It is used as title attribute and on the administration overview page.}', 4 | 'page callback' => 'drupal_get_form', 5 | 'page arguments' => array('${4:form_id}'), 6 | 'access arguments' => array('${5:administer }'), 7 | ); 8 | 9 | $6 -------------------------------------------------------------------------------- /Support/commands/overrides/menu/7/menu_item.7.php: -------------------------------------------------------------------------------- 1 | \$items['${1:admin/settings/}'] = array( 2 | 'title' => '${2:Menu item}', 3 | 'description' => '${3:The description of the menu item. It is used as title attribute and on the administration overview page.}', 4 | 'page callback' => 'drupal_get_form', 5 | 'page arguments' => array('${4:form_id}'), 6 | 'access arguments' => array('${5:administer }'), 7 | ); 8 | 9 | $6 -------------------------------------------------------------------------------- /Support/commands/overrides/preprocess/6/template_preprocess_comment.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Override or insert variables into the comment templates. 3 | * 4 | * @param \$variables 5 | * An array of variables to pass to the theme template. 6 | */ 7 | function _preprocess_comment(&\$variables) { 8 | \$comment = \$variables['comment'];$2 9 | } 10 | 11 | $3 12 | -------------------------------------------------------------------------------- /Support/commands/overrides/preprocess/6/template_preprocess_node.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Override or insert variables into the node templates. 3 | * 4 | * @param \$variables 5 | * An array of variables to pass to the theme template. 6 | */ 7 | function _preprocess_node(&\$variables) { 8 | ${2:\$node = \$variables['node'];}$3 9 | } 10 | 11 | $4 -------------------------------------------------------------------------------- /Support/commands/overrides/preprocess/6/template_preprocess_page.6.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Override or insert variables into the page templates. 3 | * 4 | * @param \$variables 5 | * An array of variables to pass to the theme template. 6 | */ 7 | function _preprocess_page(&\$variables) { 8 | $2 9 | } 10 | 11 | $3 12 | -------------------------------------------------------------------------------- /Support/commands/overrides/schema/6/field.6.php: -------------------------------------------------------------------------------- 1 | '$1' => array( 2 | 'type' => '$2', 3 | 'description' => '$3', 4 | 'default' => '${4:not null}', 5 | 'not null' => ${5:TRUE}, 6 | ), -------------------------------------------------------------------------------- /Support/commands/overrides/schema/6/schema.6.php: -------------------------------------------------------------------------------- 1 | \$schema['$1'] = array( 2 | 'description' => '$2', 3 | 'fields' => array( 4 | $3, 5 | ), 6 | ); 7 | -------------------------------------------------------------------------------- /Support/commands/overrides/simpletest/6/unit_test_skeleton.6.php: -------------------------------------------------------------------------------- 1 | class ${1:}TestCase extends DrupalUnitTestCase { 2 | public static function getInfo() { 3 | return array( 4 | 'name' => t('${1} tests'), 5 | 'description' => t('${3:One or more complete sentences explaining the test.}'), 6 | 'group' => t('${1}'), 7 | ); 8 | } 9 | 10 | function setUp() { 11 | parent::setUp('${1/(\w+)/(?1:\L$0)/g}'$6); 12 | } 13 | 14 | $0 15 | } 16 | -------------------------------------------------------------------------------- /Support/commands/overrides/simpletest/6/web_test_skeleton.6.php: -------------------------------------------------------------------------------- 1 | class ${1:}TestCase extends DrupalWebTestCase { 2 | public static function getInfo() { 3 | return array( 4 | 'name' => t('${1} tests'), 5 | 'description' => t('${3:One or more complete sentences explaining the test.}'), 6 | 'group' => t('${1}'), 7 | ); 8 | } 9 | 10 | function setUp() { 11 | parent::setUp('${1/(\w+)/(?1:\L$0)/g}'$6); 12 | } 13 | 14 | $0 15 | } 16 | -------------------------------------------------------------------------------- /Support/commands/overrides/simpletest/7/unit_test_skeleton.7.php: -------------------------------------------------------------------------------- 1 | class ${1:}TestCase extends DrupalUnitTestCase { 2 | public static function getInfo() { 3 | return array( 4 | 'name' => t('${1} tests'), 5 | 'description' => t('${3:One or more complete sentences explaining the test.}'), 6 | 'group' => t('${1}'), 7 | ); 8 | } 9 | 10 | function setUp() { 11 | parent::setUp('${1/(\w+)/(?1:\L$0)/g}'$6); 12 | } 13 | 14 | $0 15 | } 16 | -------------------------------------------------------------------------------- /Support/commands/overrides/simpletest/7/web_test_skeleton.7.php: -------------------------------------------------------------------------------- 1 | class ${1:}TestCase extends DrupalWebTestCase { 2 | public static function getInfo() { 3 | return array( 4 | 'name' => t('${1} tests'), 5 | 'description' => t('${3:One or more complete sentences explaining the test.}'), 6 | 'group' => t('${1}'), 7 | ); 8 | } 9 | 10 | function setUp() { 11 | parent::setUp('${1/(\w+)/(?1:\L$0)/g}'$6); 12 | } 13 | 14 | $0 15 | } 16 | -------------------------------------------------------------------------------- /Support/commands/overrides/theme/5/theme_breadcrumb.5.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Return a themed breadcrumb trail. 3 | * 4 | * @param \$breadcrumb 5 | * An array containing the breadcrumb links. 6 | * @return a string containing the breadcrumb output. 7 | */ 8 | function _breadcrumb(\$breadcrumb) { 9 | if (!empty(\$breadcrumb)) { 10 | return ' '; 11 | } 12 | } 13 | 14 | $1 -------------------------------------------------------------------------------- /Support/commands/overrides/theme/5/theme_feed_icon.5.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Return code that emits an feed icon. 3 | */ 4 | function _feed_icon(\$url) { 5 | if (\$image = theme('image', 'misc/feed.png', t('Syndicate content'), t('Syndicate content'))) { 6 | return ''. \$image. ''; 7 | } 8 | } 9 | 10 | $1 -------------------------------------------------------------------------------- /Support/commands/overrides/theme/5/theme_help.5.php: -------------------------------------------------------------------------------- 1 | /** 2 | * Return a themed help message. 3 | * 4 | * @return a string containing the helptext for the current page. 5 | */ 6 | function _help() { 7 | if (\$help = menu_get_active_help()) { 8 | return '