Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
user.module
»
user_access
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
154 calls to user_access()
aggregator_block_view
in drupal/
modules/
aggregator/
aggregator.module
Implements
hook_block_view
().
authorize_access_allowed
in drupal/
authorize.php
Determines if the current user is allowed to run
authorize.php
.
block_admin_configure
in drupal/
modules/
block/
block.admin.inc
Form constructor for the block configuration form.
blog_block_view
in drupal/
modules/
blog/
blog.module
Implements
hook_block_view
().
blog_menu_local_tasks_alter
in drupal/
modules/
blog/
blog.module
Implements
hook_menu_local_tasks_alter
().
blog_page_user_access
in drupal/
modules/
blog/
blog.module
Access callback for user blog pages.
blog_user_view
in drupal/
modules/
blog/
blog.module
Implements
hook_user_view
().
book_export_html
in drupal/
modules/
book/
book.pages.inc
Generates HTML for export when invoked by
book_export
().
book_form_node_form_alter
in drupal/
modules/
book/
book.module
Implements
hook_form_BASE_FORM_ID_alter
() for
node_form
().
book_node_prepare
in drupal/
modules/
book/
book.module
Implements
hook_node_prepare
().
book_node_presave
in drupal/
modules/
book/
book.module
Implements
hook_node_presave
().
book_node_view_link
in drupal/
modules/
book/
book.module
Adds relevant book links to the node's links.
CommentInterfaceTest::assertCommentLinks
in drupal/
modules/
comment/
comment.test
Asserts that comment links appear according to the passed environment setup.
comment_access
in drupal/
modules/
comment/
comment.module
Determines whether the current user has access to a particular comment.
comment_block_view
in drupal/
modules/
comment/
comment.module
Implements
hook_block_view
().
comment_file_download_access
in drupal/
modules/
comment/
comment.module
Implements
hook_file_download_access
().
comment_form
in drupal/
modules/
comment/
comment.module
Generate the basic commenting form, for appending to a node or display on a separate page.
comment_form_node_form_alter
in drupal/
modules/
comment/
comment.module
Implements
hook_form_BASE_FORM_ID_alter
().
comment_form_node_type_form_alter
in drupal/
modules/
comment/
comment.module
Implements
hook_form_FORM_ID_alter
().
comment_form_submit
in drupal/
modules/
comment/
comment.module
Process comment form submissions; prepare the comment, store it, and set a redirection target.
comment_get_display_ordinal
in drupal/
modules/
comment/
comment.module
Get the display ordinal for a comment, starting from 0.
comment_get_thread
in drupal/
modules/
comment/
comment.module
Retrieve comments for a thread.
comment_links
in drupal/
modules/
comment/
comment.module
Helper function, build links for an individual comment.
comment_node_page_additions
in drupal/
modules/
comment/
comment.module
Build the comment-related elements for node detail pages.
comment_node_search_result
in drupal/
modules/
comment/
comment.module
Implements
hook_node_search_result
().
comment_node_view
in drupal/
modules/
comment/
comment.module
Implements
hook_node_view
().
comment_reply
in drupal/
modules/
comment/
comment.pages.inc
This function is responsible for generating a comment reply form. There are several cases that have to be handled, including:
comment_save
in drupal/
modules/
comment/
comment.module
Accepts a submission of new or changed comment content.
contact_personal_form
in drupal/
modules/
contact/
contact.pages.inc
Form constructor for the personal contact form.
contact_personal_form_submit
in drupal/
modules/
contact/
contact.pages.inc
Form submission handler for
contact_personal_form
().
contact_site_form
in drupal/
modules/
contact/
contact.pages.inc
Form constructor for the site-wide contact form.
contextual_preprocess
in drupal/
modules/
contextual/
contextual.module
Implements
hook_preprocess
().
dashboard_admin
in drupal/
modules/
dashboard/
dashboard.module
Page callback: Displays the dashboard.
field_test_entity_form
in drupal/
modules/
field/
tests/
field_test.entity.inc
Test_entity form.
field_ui_admin_access
in drupal/
modules/
field_ui/
field_ui.module
Access callback to determine if a user is allowed to use the field UI.
FilterFormatAccessTestCase::testFormatPermissions
in drupal/
modules/
filter/
filter.test
Tests the Filter format access permissions functionality.
filter_access
in drupal/
modules/
filter/
filter.module
Checks if a user has access to a particular text format.
filter_process_format
in drupal/
modules/
filter/
filter.module
Expands an element into a base element with text format selector attached.
forum_block_view
in drupal/
modules/
forum/
forum.module
Implements
hook_block_view
().
hook_block_view
in drupal/
modules/
block/
block.api.php
Return a rendered or renderable view of a block.
hook_field_access
in drupal/
modules/
field/
field.api.php
Determine whether the user has access to a given field.
hook_file_download
in drupal/
modules/
system/
system.api.php
Control access to private file downloads and specify HTTP headers.
hook_node_access
in drupal/
modules/
node/
node.api.php
Control access to a node.
hook_node_grants
in drupal/
modules/
node/
node.api.php
Inform the node access system what permissions the user has.
hook_preprocess
in drupal/
modules/
system/
theme.api.php
Preprocess theme variables for templates.
hook_query_TAG_alter
in drupal/
modules/
system/
system.api.php
Perform alterations to a structured query for a given tag.
hook_search_access
in drupal/
modules/
search/
search.api.php
Define access to a custom search routine.
hook_user_cancel_methods_alter
in drupal/
modules/
user/
user.api.php
Modify account cancellation methods.
hook_user_view
in drupal/
modules/
user/
user.api.php
The user's account information is being displayed.
locale_language_selector_form
in drupal/
modules/
locale/
locale.module
Form builder callback to display language selection widget.
menu_form_node_form_alter
in drupal/
modules/
menu/
menu.module
Implements
hook_form_BASE_FORM_ID_alter
().
menu_tree_check_access
in drupal/
includes/
menu.inc
Checks access and performs dynamic operations for each link in the tree.
node_access
in drupal/
modules/
node/
node.module
Determines whether the current user may perform the operation on the node.
node_access_test_node_grants
in drupal/
modules/
node/
tests/
node_access_test.module
Implements
hook_node_grants
().
node_admin_nodes
in drupal/
modules/
node/
node.admin.inc
Form builder: Builds the node administration overview.
node_block_view
in drupal/
modules/
node/
node.module
Implements
hook_block_view
().
node_form
in drupal/
modules/
node/
node.pages.inc
Form constructor for the node add/edit form.
node_form_search_form_alter
in drupal/
modules/
node/
node.module
Implements
hook_form_FORM_ID_alter
().
node_get_recent
in drupal/
modules/
node/
node.module
Finds the most recently changed nodes that are available to the current user.
node_help
in drupal/
modules/
node/
node.module
Implements
hook_help
().
node_node_access
in drupal/
modules/
node/
node.module
Implements
hook_node_access
().
node_overview_types
in drupal/
modules/
node/
content_types.inc
Displays the content type admin overview page.
node_revision_overview
in drupal/
modules/
node/
node.pages.inc
Generates an overview table of older revisions of a node.
node_search_access
in drupal/
modules/
node/
node.module
Implements
hook_search_access
().
overlay_disable_message
in drupal/
modules/
overlay/
overlay.module
Returns a renderable array representing a message for disabling the overlay.
overlay_form_user_profile_form_alter
in drupal/
modules/
overlay/
overlay.module
Implements
hook_form_FORM_ID_alter
().
overlay_init
in drupal/
modules/
overlay/
overlay.module
Implements
hook_init
().
path_admin_delete_confirm
in drupal/
modules/
path/
path.admin.inc
Form constructor for the path deletion form.
path_form_node_form_alter
in drupal/
modules/
path/
path.module
Implements
hook_form_BASE_FORM_ID_alter
() for
node_form
().
path_form_taxonomy_form_term_alter
in drupal/
modules/
path/
path.module
Implements
hook_form_FORM_ID_alter
() for
taxonomy_form_term
().
poll_block_view
in drupal/
modules/
poll/
poll.module
Implements
hook_block_view
().
poll_form
in drupal/
modules/
poll/
poll.module
Implements
hook_form
().
poll_insert
in drupal/
modules/
poll/
poll.module
Implements
hook_insert
().
poll_load
in drupal/
modules/
poll/
poll.module
Implements
hook_load
().
profile_block_view
in drupal/
modules/
profile/
profile.module
Implements
hook_block_view
().
profile_browse
in drupal/
modules/
profile/
profile.pages.inc
Menu callback; display a list of user information.
profile_category_access
in drupal/
modules/
profile/
profile.module
Menu item access callback - check if a user has access to a profile category.
profile_user_form_validate
in drupal/
modules/
profile/
profile.module
Form validation handler for the user register/profile form.
profile_user_view
in drupal/
modules/
profile/
profile.module
Implements
hook_user_view
().
profile_view_field
in drupal/
modules/
profile/
profile.module
rdf_preprocess_node
in drupal/
modules/
rdf/
rdf.module
Implements MODULE_preprocess_HOOK().
search_block_view
in drupal/
modules/
search/
search.module
Implements
hook_block_view
().
search_is_active
in drupal/
modules/
search/
search.module
Determines access for the ?q=search path.
shortcut_help
in drupal/
modules/
shortcut/
shortcut.module
Implements
hook_help
().
shortcut_set_delete_access
in drupal/
modules/
shortcut/
shortcut.module
Access callback for deleting a shortcut set.
shortcut_set_edit_access
in drupal/
modules/
shortcut/
shortcut.module
Access callback for editing a shortcut set.
shortcut_set_switch
in drupal/
modules/
shortcut/
shortcut.admin.inc
Form callback: builds the form for switching shortcut sets.
shortcut_set_switch_access
in drupal/
modules/
shortcut/
shortcut.module
Access callback for switching the shortcut set assigned to a user account.
statistics_block_view
in drupal/
modules/
statistics/
statistics.module
Implements
hook_block_view
().
statistics_node_view
in drupal/
modules/
statistics/
statistics.module
Implements
hook_node_view
().
statistics_top_visitors
in drupal/
modules/
statistics/
statistics.admin.inc
Page callback: Displays the "top visitors" page.
system_admin_config_page
in drupal/
modules/
system/
system.admin.inc
Menu callback; Provide the administration overview page.
system_custom_theme
in drupal/
modules/
system/
system.module
Implements
hook_custom_theme
().
system_modules
in drupal/
modules/
system/
system.admin.inc
Menu callback; provides module enable/disable interface.
taxonomy_form_term
in drupal/
modules/
taxonomy/
taxonomy.admin.inc
Form function for the term edit form.
taxonomy_term_edit_access
in drupal/
modules/
taxonomy/
taxonomy.module
Return edit access for a given term.
template_preprocess_aggregator_feed_source
in drupal/
modules/
aggregator/
aggregator.pages.inc
Processes variables for
aggregator-feed-source.tpl.php
.
template_preprocess_poll_results
in drupal/
modules/
poll/
poll.module
Preprocess the poll_results theme hook.
template_preprocess_username
in drupal/
includes/
theme.inc
Preprocesses variables for
theme_username
().
template_preprocess_user_picture
in drupal/
modules/
user/
user.module
Process variables for
user-picture.tpl.php
.
theme_book_admin_table
in drupal/
modules/
book/
book.admin.inc
Returns HTML for a book administration form.
theme_node_recent_block
in drupal/
modules/
node/
node.module
Returns HTML for a list of recent content.
theme_poll_choices
in drupal/
modules/
poll/
poll.module
Returns HTML for an admin poll form for choices.
toolbar_page_build
in drupal/
modules/
toolbar/
toolbar.module
Implements
hook_page_build
().
toolbar_preprocess_html
in drupal/
modules/
toolbar/
toolbar.module
Implements hook_preprocess_html().
translation_form_node_form_alter
in drupal/
modules/
translation/
translation.module
Implements
hook_form_BASE_FORM_ID_alter
() for
node_form
().
translation_node_prepare
in drupal/
modules/
translation/
translation.module
Implements
hook_node_prepare
().
trigger_menu_unassign_access
in drupal/
modules/
trigger/
trigger.module
Access callback: Determines if triggers can be unassigned.
update_access_allowed
in drupal/
update.php
Determines if the current user is allowed to run
update.php
.
update_helpful_links
in drupal/
update.php
Provides links to the homepage and administration pages.
update_init
in drupal/
modules/
update/
update.module
Implements
hook_init
().
update_manager_access
in drupal/
modules/
update/
update.module
Access callback: Resolves if the current user can access updater menu items.
update_results_page
in drupal/
update.php
Displays results of the update script with any accompanying errors.
UserPermissionsTestCase::testAdministratorRole
in drupal/
modules/
user/
user.test
Test assigning of permissions for the administrator role.
UserPermissionsTestCase::testUserPermissionChanges
in drupal/
modules/
user/
user.test
Change user permissions and check
user_access
().
UserPermissionsTestCase::testUserRoleChangePermissions
in drupal/
modules/
user/
user.test
Verify proper permission changes by
user_role_change_permissions
().
user_account_form
in drupal/
modules/
user/
user.module
Helper function to add default user account fields to user registration and edit form.
user_block_view
in drupal/
modules/
user/
user.module
Implements
hook_block_view
().
user_build_filter_query
in drupal/
modules/
user/
user.module
Extends a query object for user administration filters based on session.
user_cancel_access
in drupal/
modules/
user/
user.module
Menu access callback; limit access to account cancellation pages.
user_cancel_confirm_form
in drupal/
modules/
user/
user.pages.inc
Form builder; confirm form for cancelling user account.
user_cancel_confirm_form_submit
in drupal/
modules/
user/
user.pages.inc
Submit handler for the account cancellation confirm form.
user_cancel_methods
in drupal/
modules/
user/
user.pages.inc
Helper function to return available account cancellation methods.
user_edit_access
in drupal/
modules/
user/
user.module
Access callback for user account editing.
user_menu_site_status_alter
in drupal/
modules/
user/
user.module
Implements
hook_menu_site_status_alter
().
user_profile_form
in drupal/
modules/
user/
user.pages.inc
Form builder; edit a user account or one of their profile categories.
user_register_form
in drupal/
modules/
user/
user.module
Form builder; the user registration form.
user_role_edit_access
in drupal/
modules/
user/
user.module
Menu access callback for user role editing.
user_search_access
in drupal/
modules/
user/
user.module
Implements
hook_search_access
().
user_search_execute
in drupal/
modules/
user/
user.module
Implements
hook_search_execute
().
user_user_operations
in drupal/
modules/
user/
user.module
Implements
hook_user_operations
().
user_view_access
in drupal/
modules/
user/
user.module
User view access callback.
_aggregator_has_categories
in drupal/
modules/
aggregator/
aggregator.module
Determines whether there are any aggregator categories.
_aggregator_page_list
in drupal/
modules/
aggregator/
aggregator.pages.inc
Prints an aggregator page listing a number of feed items.
_block_themes_access
in drupal/
modules/
block/
block.module
Menu item access callback - only admin or enabled themes can be accessed.
_book_add_form_elements
in drupal/
modules/
book/
book.module
Builds the common elements of the book form for the node and outline forms.
_book_outline_access
in drupal/
modules/
book/
book.module
Access callback: Determines if the outline tab is accessible.
_contact_personal_tab_access
in drupal/
modules/
contact/
contact.module
Menu access callback for a user's personal contact form.
_field_ui_view_mode_menu_access
in drupal/
modules/
field_ui/
field_ui.module
Menu access callback for the 'view mode display settings' pages.
_filter_disable_format_access
in drupal/
modules/
filter/
filter.module
Access callback: Checks access for disabling text formats.
_menu_check_access
in drupal/
includes/
menu.inc
Checks access to a menu item using the access callback.
_menu_site_is_offline
in drupal/
includes/
menu.inc
Checks whether the site is in maintenance mode.
_node_add_access
in drupal/
modules/
node/
node.module
Access callback: Checks whether the user has permission to add a node.
_node_query_node_access_alter
in drupal/
modules/
node/
node.module
Helper for node access functions.
_node_revision_access
in drupal/
modules/
node/
node.module
Access callback: Checks node revision access.
_poll_choice_form
in drupal/
modules/
poll/
poll.module
_poll_menu_access
in drupal/
modules/
poll/
poll.module
Callback function to see if a node is acceptable for poll menu items.
_profile_get_fields
in drupal/
modules/
profile/
profile.module
_search_menu_access
in drupal/
modules/
search/
search.module
Access callback for search tabs.
_system_themes_access
in drupal/
modules/
system/
system.module
Menu item access callback - only admin or enabled themes can be accessed.
_template_preprocess_default_variables
in drupal/
includes/
theme.inc
Returns hook-independent variables to
template_preprocess
().
_tracker_myrecent_access
in drupal/
modules/
tracker/
tracker.module
Access callback for tracker/%user_uid_optional.
_tracker_user_access
in drupal/
modules/
tracker/
tracker.module
Access callback for user/%user/track.
_translation_tab_access
in drupal/
modules/
translation/
translation.module
Access callback: Checks that the user has permission to 'translate content'.