Functions - main - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| 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 | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\user\OneTimeAuthentication::generateCancelConfirmUrl() instead. |
core/ |
Generates a URL to confirm an account cancellation request. | ||
| user_cookie_delete | in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement. |
core/ |
Delete a visitor information cookie. | ||
| user_cookie_save | in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement. |
core/ |
Saves visitor information as a cookie so it can be reused. | ||
| user_form_process_password_confirm | in drupal:11.4.0 and is removed from drupal:13.0.0. Use UserThemeHooks::processPasswordConfirm() instead. |
core/ |
Form element process handler for client-side password validation. | ||
| user_install | core/ |
Implements hook_install(). | 4 | ||
| user_load_by_mail | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::entityTypeManager()->getStorage('user')->loadByProperties() instead. |
core/ |
Fetches a user object by email address. | ||
| user_load_by_name | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::entityTypeManager()->getStorage('user')->loadByProperties() instead. |
core/ |
Fetches a user object by account name. | 1 | |
| user_login_finalize | core/ |
Finalizes the login process and logs in a user. | 6 | ||
| user_logout | core/ |
Logs the current user out. | 6 | ||
| user_mail_tokens | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\user\OneTimeAuthentication::tokens() instead. |
core/ |
Token callback to add unsafe tokens for user mails. | ||
| user_pass_rehash | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\user\OneTimeAuthentication::generateHmac() instead. |
core/ |
Creates a unique hash value for use in time-dependent per-user URLs. | 1 | |
| user_pass_reset_url | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\user\OneTimeAuthentication::generateOneTimeLoginUrl() instead. |
core/ |
Generates a unique URL for a user to log in and reset their password. | 1 | |
| 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(). | |||
| views_add_contextual_links | in drupal:11.4.0 and is removed from drupal:13.0.0. Use Drupal\views\ContextualLinksHelper::addLinks() instead. |
core/ |
Adds contextual links associated with a view display to a renderable array. | ||
| views_disable_view | in drupal:11.4.0 and is removed from drupal:13.0.0. Use $view->disable()->save() instead. |
core/ |
Disables and saves a view. | ||
| views_element_validate_tags | in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement. |
core/ |
Validation callback for query tags. | ||
| views_embed_view | in drupal:11.4.0 and is removed from drupal:13.0.0. Use '#type' => 'view' render elements instead. |
core/ |
Embed a view using a PHP snippet. | 1 | |
| views_enable_view | in drupal:11.4.0 and is removed from drupal:13.0.0. Use $view->enable()->save() instead. |
core/ |
Enables and saves a view. | ||
| views_get_current_view | in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement. |
core/ |
Find out what, if any, current view is currently in use. | ||
| views_get_view_result | in drupal:11.4.0 and is removed from drupal:13.0.0. Use Views::getViewResult($name, $display_id, ...$args) instead. |
core/ |
Get the result of a view. | ||
| views_install | core/ |
Implements hook_install(). | |||
| views_invalidate_cache | core/ |
Invalidate the views cache, forcing a rebuild on the next grab of table data. | 4 | ||
| views_post_update_counter_field_not_sortable | core/ |
Clear cache to apply non-sortable counter field change. | |||
| views_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| views_set_current_view | in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement. |
core/ |
Set the current view. | ||
| views_test_checkboxes_theme_form_views_exposed_form_alter | core/ |
Changes an exposed "type" filter from a multi-select to checkboxes. | |||
| views_test_config_updater_post_update_set_deprecations_disabled | core/ |
Test post update to set deprecations disabled. | |||
| views_test_data_handler_test_access_callback | core/ |
Access callback for the generic handler test. | |||
| views_test_data_handler_test_access_callback_argument | core/ |
Access callback with an argument for the generic handler test. | |||
| views_test_data_install | core/ |
Implements hook_install(). | |||
| views_test_data_schema | core/ |
Implements hook_schema(). | 3 | ||
| views_ui_add_ajax_trigger | in drupal:11.4.0 and is removed from drupal:13.0.0. There is no public replacement for this function. Form classes can use the protected method \Drupal\views\ViewsFormAjaxHelperTrait::addAjaxTrigger(). |
core/ |
Converts a form element in the add view wizard to be AJAX-enabled. | ||
| views_ui_add_ajax_wrapper | in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement for this function. Form classes can use the \Drupal\views\ViewsFormAjaxHelperTrait trait and call the addAjaxWrapper() method. |
core/ |
Adds a wrapper to a form region (for AJAX refreshes) after the build. |
Pagination
- Previous page
- Page 18
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.