Functions - main - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| update_test_failing_update_8002 | core/ |
A further update. | |||
| update_test_invalid_hook_update_8000 | core/ |
Hook implementation using the reserved schema version 8000. | |||
| update_test_last_removed_update_8003 | core/ |
Dummy update function to run during the tests. | |||
| update_test_last_removed_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| update_test_no_preexisting_update_8001 | core/ |
Dummy update_test_no_preexisting update 8001. | 1 | ||
| update_test_postupdate_post_update_first | core/ |
First update. | 2 | ||
| update_test_postupdate_post_update_second | core/ |
Second update. | 2 | ||
| update_test_postupdate_post_update_test0 | core/ |
Test0 update. | 2 | ||
| update_test_postupdate_post_update_test1 | core/ |
Test1 update. | 2 | ||
| update_test_postupdate_post_update_test_batch | core/ |
Testing batch processing in post updates update. | 1 | ||
| update_test_postupdate_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| update_test_postupdate_update_8001 | core/ |
Normal update_N() function. | |||
| update_test_schema_schema | core/ |
Implements hook_schema(). | |||
| update_test_semver_update_n_update_8001 | core/ |
Update 8001. | 1 | ||
| update_test_with_7x_update_7200 | core/ |
Dummy update_test_with_7x update 7200. | |||
| update_test_with_7x_update_7201 | core/ |
Dummy update_test_with_7x update 7201. | |||
| update_test_with_7x_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| update_uninstall | core/ |
Implements hook_uninstall(). | |||
| update_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| user_cancel | core/ |
Cancel a user account. | 5 | ||
| user_cancel_methods | core/ |
Helper function to return available account cancellation methods. | 3 | ||
| user_cancel_url | core/ |
Generates a URL to confirm an account cancellation request. | 2 | ||
| user_cookie_delete | core/ |
Delete a visitor information cookie. | |||
| user_cookie_save | core/ |
Saves visitor information as a cookie so it can be reused. | 1 | ||
| user_form_process_password_confirm | core/ |
Form element process handler for client-side password validation. | 1 | ||
| user_install | core/ |
Implements hook_install(). | 4 | ||
| user_is_blocked | in drupal:11.0.0 and is removed from drupal:12.0.0. Use Drupal\user\UserInterface::isBlocked() instead. |
core/ |
Checks for usernames blocked by user administration. | 1 | |
| user_load_by_mail | core/ |
Fetches a user object by email address. | 1 | ||
| user_load_by_name | core/ |
Fetches a user object by account name. | 8 | ||
| user_login_finalize | core/ |
Finalizes the login process and logs in a user. | 5 | ||
| user_logout | core/ |
Logs the current user out. | 5 | ||
| user_mail_tokens | core/ |
Token callback to add unsafe tokens for user mails. | 2 | ||
| user_pass_rehash | core/ |
Creates a unique hash value for use in time-dependent per-user URLs. | 12 | ||
| user_pass_reset_url | core/ |
Generates a unique URL for a user to log in and reset their password. | 7 | ||
| user_picture_enabled | core/ |
Returns whether this site supports the default user picture feature. | 2 | ||
| user_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| user_role_change_permissions | core/ |
Change permissions for a user role. | 21 | ||
| user_role_grant_permissions | core/ |
Grant permissions to a user role. | 34 | ||
| user_role_revoke_permissions | core/ |
Revoke permissions from a user role. | 11 | ||
| user_schema | core/ |
Implements hook_schema(). | |||
| user_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| user_validate_name | in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\user\UserNameValidator::validateName() instead. |
core/ |
Verify the syntax of the given name. | 1 | |
| views_add_contextual_links | core/ |
Adds contextual links associated with a view display to a renderable array. | 3 | 2 | |
| views_disable_view | core/ |
Disables and saves a view. | 1 | ||
| views_element_validate_tags | core/ |
Validation callback for query tags. | 1 | ||
| views_embed_view | core/ |
Embed a view using a PHP snippet. | 1 | ||
| views_enable_view | core/ |
Enables and saves a view. | 1 | ||
| views_entity_field_label | in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal::service('entity_field.manager')->getFieldLabels() instead. |
core/ |
Returns the label of a certain field. | ||
| views_field_default_views_data | in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal::service('views.field_data_provider') ->defaultFieldImplementation($field_storage); instead. |
core/ |
Default views data implementation for a field. | ||
| views_get_current_view | core/ |
Find out what, if any, current view is currently in use. | 1 |
Pagination
- Previous page
- Page 22
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.