admin_bar_get_user_count in core/modules/admin_bar/admin_bar.module
Return count of online authenticated users.
admin_bar_js_cache in core/modules/admin_bar/admin_bar.module
Menu callback; Output administration bar for HTTP caching via AJAX request.
ajax_example_progressbar_callback in modules/examples/ajax_example/
Our submit handler.
ajax_example_progressbar_form in modules/examples/ajax_example/
Implements hook_FORMID().
BackdropDatabaseCache::garbageCollection in core/includes/
Implements BackdropCacheInterface::garbageCollection().
BackdropDatabaseCache::set in core/includes/
Implements BackdropCacheInterface::set().
BackdropWebTestCase::backdropCreateNode in core/modules/simpletest/backdrop_web_test_case.php
Creates a node based on default settings.
backdrop_cache_system_paths in core/includes/
Cache system paths for a page.
backdrop_cron_run in core/includes/
Executes a cron run when called.
backdrop_delete_file_if_stale in core/includes/
Deletes files modified more than a set time ago.
backdrop_page_create_cache in core/includes/
Create a page cache object for a page request.
backdrop_page_get_cache in core/includes/
Retrieves the current page from the cache.
backdrop_page_header in core/includes/
Sets HTTP headers in preparation for a page response.
backdrop_pre_render_scripts in core/includes/
#pre_render callback to add the elements needed for JavaScript tags to be rendered.
backdrop_session_commit in core/includes/
Commits the current session, if necessary.
backdrop_session_regenerate in core/includes/
Called when an anonymous user becomes authenticated or vice-versa.
backdrop_valid_test_ua in core/includes/
Returns the test prefix if this is an internal request from SimpleTest.
batch_process in core/includes/
Processes the batch.
CommentStorageController::preSave in core/modules/comment/
Overrides EntityDatabaseStorageController::preSave().
CommentTokenReplaceTestCase::testCommentTokenReplacement in core/modules/comment/tests/comment.test
Creates a comment, then tests the tokens generated from it.
comment_preview in core/modules/comment/comment.module
Generates a comment preview.
comment_submit in core/modules/comment/comment.module
Prepare a comment for submission.
ConfigDatabaseStorage::write in core/includes/
Writes configuration data to the storage.
ConfigurationUITest::testImport in core/modules/config/tests/config.test
Tests importing configuration.
config_sync_form_submit in core/modules/config/
Submit handler for config_sync_form().
DashboardNewsBlock::refreshNewsFeed in core/modules/dashboard/includes/
Fetch news from the news source and set the cache for future responses.
dashboard_cron in core/modules/dashboard/dashboard.module
Implements hook_cron().
DateFieldTokenTestCase::testDateFieldToken in core/modules/date/tests/date_field.test
Tests that date field tokens function properly.
date_format_interval in core/includes/
Formats a time interval with granularity, including past and future context.
date_views_argument_handler_simple::get_default_argument in core/modules/date/views/
Set the empty argument value to the current date.
date_years in core/includes/
Constructs an array of years.
DBLogTestCase::generateLogEntries in core/modules/dblog/tests/dblog.test
Generates a number of random database log events.
DBLogTestCase::testDBLogAddAndClear in core/modules/dblog/tests/dblog.test
Tests the addition and clearing of log events through the admin interface.
DBLogTestCase::testDBLogCorrupted in core/modules/dblog/tests/dblog.test
Tests corrupted log entries can still display available data.
DBLogTestCase::testDBLogException in core/modules/dblog/tests/dblog.test
Verifies that exceptions are caught in dblog_watchdog().
DBLogTestCase::testLogMessageSanitized in core/modules/dblog/tests/dblog.test
Make sure HTML tags are filtered out in the log detail page.
dblog_form_system_logging_settings_alter in core/modules/dblog/dblog.module
Implements hook_form_FORM_ID_alter() for system_logging_settings().
db_ignore_replica in core/includes/database/
Sets a session variable specifying the lag time for ignoring a replica server.
EntityCrudHookTestCase::testCommentHooks in core/modules/entity/tests/entity_crud_hook_test.test
Tests hook invocations for CRUD operations on comments.
EntityCrudHookTestCase::testFileHooks in core/modules/entity/tests/entity_crud_hook_test.test
Tests hook invocations for CRUD operations on files.
EntityCrudHookTestCase::testNodeHooks in core/modules/entity/tests/entity_crud_hook_test.test
Tests hook invocations for CRUD operations on nodes.
EntityCrudHookTestCase::testUserHooks in core/modules/entity/tests/entity_crud_hook_test.test
Tests hook invocations for CRUD operations on users.
FileAccessFunctionsAlignedTestCase::createExampleFile in core/modules/file/tests/file.test
Helper function to create some files.
FileDeleteTest::testInUse in core/modules/simpletest/tests/file.test
Tries deleting a file that is in use.
FileFieldRevisionTestCase::testRevisions in core/modules/file/tests/file.test
Tests creating multiple revisions of a node and managing attached files.
FileReplaceTestCase::testReplaceFile in core/modules/file/tests/file.test
@todo Test image dimensions for an image field are reset when a file is replaced. @todo Test image styles are cleared when an image is updated.
FileSaveUploadTest::testHandleDangerousFile in core/modules/simpletest/tests/file.test
Test dangerous file handling.
FileStorageController::preSave in core/modules/file/
Overrides EntityDatabaseStorageController::presave().
FileTestCase::createFile in core/modules/simpletest/tests/file.test
Create a file and save it to the files table and assert that it occurs correctly.
FileTestHelper::createFile in core/modules/file/tests/file.test
Create file
file_delete_action in core/modules/file/
Queues a file for deletion.
file_multiple_delete_confirm in core/modules/file/
Multiple file deletion confirmation form.
flood_is_allowed in core/includes/
Checks whether a user is allowed to proceed with the specified event.
flood_register_event in core/includes/
Registers an event for the current visitor to the flood control mechanism.
FormsFormCacheTestCase::testCacheFormCustomExpiration in core/modules/simpletest/tests/form.test
Tests changing form_cache_expiration.
form_process_date in core/includes/
Expands a date element into year, month, and day select elements.
form_set_cache in core/includes/
Stores a form in the cache.
hook_entity_insert in core/modules/entity/entity.api.php
Act on entities when inserted.
hook_entity_presave in core/modules/entity/entity.api.php
Act on an entity before it is about to be created or updated.
hook_entity_update in core/modules/entity/entity.api.php
Act on entities when updated.
hook_file_access in core/modules/file/file.api.php
Control access to a file.
hook_query_file_access_alter in core/modules/file/file.api.php
Control access to listings of files.
hook_requirements in core/modules/system/system.api.php
Check installation requirements and do status reporting.
hook_search_reset in core/modules/search/search.api.php
Take action when the search index is going to be rebuilt.
hook_user_insert in core/modules/user/user.api.php
Respond to creation of a new user account.
hook_user_update in core/modules/user/user.api.php
Respond to updates to a user account.
hook_user_view in core/modules/user/user.api.php
The user's account information is being displayed.
hook_views_query_substitutions in core/modules/views/views.api.php
Performs replacements in the query before being performed.
html_datetime_validate in core/includes/
Validate a combined date and time array.
image_style_save_allowed_uris in core/modules/image/image.module
Shutdown callback used to save the allowlist of requested image styles.
installer_delete_file_if_stale in core/modules/installer/installer.module
Deletes stale files and directories from the update manager disk cache.
layout_locked_message in core/modules/layout/
Prepare a message and link based on if a layout item is updated or locked.
layout_set_layout_tempstore in core/modules/layout/layout.module
Store changes to a layout or menu item in the temporary store.
LocaleDateFormatsFunctionalTest::testLocalizeDateFormats in core/modules/locale/tests/locale.test
Functional tests for localizing date formats.
locale_date_format_form in core/modules/locale/
Form callback; Display fields for setting the date format for each language.
Node::__construct in core/modules/node/
Create a new Node instance.
NodeAdminTestCase::testContentAdminSort in core/modules/node/tests/node.test
Tests that the table sorting works on the content admin pages.
NodePublishScheduling::testNodeTypeCreateDefaultDraft in core/modules/node/tests/node.test
NodeRevisionsTestCase::testRevisions in core/modules/node/tests/node.test
Checks node revision related operations.
NodeSaveTestCase::testTimestamps in core/modules/node/tests/node.test
Verifies accuracy of the "created" and "changed" timestamp functionality.
NodeStorageController::preSave in core/modules/node/
Overrides EntityDatabaseStorageController::preSave().
NodeTokenReplaceTestCase::testNodeTokenReplacement in core/modules/node/tests/node.test
Creates a node, then tests the tokens generated from it.
node_cron in core/modules/node/node.module
Implements hook_cron().
node_delete_action in core/modules/node/
Queues a node for deletion.
node_form in core/modules/node/
Form constructor for the node add/edit form.
node_form_submit in core/modules/node/
Form submission handler that saves the node for node_form().
node_multiple_delete_confirm in core/modules/node/
Multiple node deletion confirmation form.
node_object_prepare in core/modules/node/node.module
Prepares a node entity for editing.
node_preview in core/modules/node/
Generates a node preview.
node_search_reset in core/modules/node/node.module
Implements hook_search_reset().
node_set_node_tempstore in core/modules/node/node.module
Store changes to a node or menu item in the temporary store.
node_tag_new in core/modules/node/node.module
Updates the 'last viewed' timestamp of the specified node for current user.
node_validate in core/modules/node/node.module
Performs validation checks on the given node.
PagePreviewTestCase::testPagePreview in core/modules/node/tests/node.test
Checks the node preview functionality.
redirect_cron in core/modules/redirect/redirect.module
Implements hook_cron().
redirect_exit in core/modules/redirect/redirect.module
Implements hook_exit().
redirect_list_form in core/modules/redirect/
Form callback; Display the list of all redirects.
redirect_list_table in core/modules/redirect/
Display a list of redirects. Used on forms when editing an entity.
redirect_purge_inactive_redirects in core/modules/redirect/redirect.module
Purge inactive redirects from the database.
SearchRankingTestCase::testRankings in core/modules/search/tests/search.test
search_touch_node in core/modules/search/search.module
Changes a node's changed timestamp to 'now' to force reindexing.
SessionTestCase::testSessionWrite in core/modules/simpletest/tests/session.test
Test that sessions are only saved when necessary.
system_configure_date_formats_form in core/modules/system/
Allow users to add additional date formats.
system_cron in core/modules/system/system.module
Implements hook_cron().
system_cron_settings in core/modules/system/
Form builder; Cron form.
system_date_delete_format_form in core/modules/system/
Menu callback; present a form for deleting a date format.
system_date_time_formats in core/modules/system/
Displays the date format strings overview page.
system_init in core/modules/system/system.module
Implements hook_init().
system_requirements in core/modules/system/system.install
Implements hook_requirements().
system_run_automated_cron in core/modules/system/system.module
Run the automated cron if enabled.
system_time_zones in core/modules/system/system.module
Generate an array of time zones and their local time&date.
system_tokens in core/modules/system/
Implements hook_tokens().
system_token_info in core/modules/system/
Implements hook_token_info().
system_update_1005 in core/modules/system/system.install
Convert basic system variables to the state system.
telemetry_cron in core/modules/telemetry/telemetry.module
Implements hook_cron().
theme_comment_block in core/modules/comment/
Returns HTML for a list of recent comments.
theme_date_display_combination in core/modules/date/
Returns HTML for a date element formatted as a Start/End combination.
theme_image_style_preview in core/modules/image/
Returns HTML for a preview of an image style.
theme_update_last_check in core/modules/update/
Returns HTML for the last time we checked for update data.
TokenCommentTestCase::testCommentTokens in core/modules/simpletest/tests/token.test
TokenReplaceTestCase::testSystemDateTokenReplacement in core/modules/simpletest/tests/token.test
Tests the generation of all system date tokens.
TokenReplaceTestCase::testTokenReplacement in core/modules/simpletest/tests/token.test
Creates a user and a node, then tests the tokens generated from them.
update_calculate_project_data in core/modules/update/
Calculates the current update status of all projects on the site.
update_cron in core/modules/update/update.module
Implements hook_cron().
update_get_projects in core/modules/update/
Fetches an array of installed and enabled projects.
update_project_cache in core/modules/update/
Retrieves data from {cache_update} or empties the cache when necessary.
UserLoginTestCase::testPasswordRehashOnLogin in core/modules/user/tests/user.test
Test that user password is re-hashed upon login after changing $count_log2.
UserPasswordResetTest::setUp in core/modules/user/tests/user_password_reset.test
Sets up a Backdrop site for running functional and integration tests.
UserPasswordResetTest::testResetImpersonation in core/modules/user/tests/user_password_reset.test
Make sure that users cannot forge password reset URLs of other users.
UserPasswordResetTest::testUniqueHashNoPasswordValue in core/modules/user/tests/user_password_reset.test
Test uniqueness of output from user_pass_rehash() with no passwords.
UserPasswordResetTest::testUserPasswordReset in core/modules/user/tests/user_password_reset.test
Tests password reset functionality.
UserPasswordResetTest::testUserPasswordResetExpired in core/modules/user/tests/user_password_reset.test
Attempts login using an expired password reset link.
UserRegistrationTestCase::testRegistrationDefaultValues in core/modules/user/tests/user.test
UserStorageController::create in core/modules/user/
Overrides EntityDatabaseStorageController::create().
UserStorageController::preSave in core/modules/user/
Overrides EntityDatabaseStorageController::preSave().
user_cancel_confirm in core/modules/user/
Menu callback; cancel a user account via email confirmation link.
user_cancel_url in core/modules/user/user.module
Generates a URL to confirm an account cancellation request.
user_cancel_user_action in core/modules/user/
Queues a specific user account for cancellation.
user_cookie_delete in core/modules/user/user.module
Delete a visitor information cookie.
user_cookie_save in core/modules/user/user.module
Saves visitor information as a cookie so it can be reused.
user_install in core/modules/user/user.install
Implements hook_install().
user_login_finalize in core/modules/user/user.module
Finalize the login process. Must be called when logging in a user.
user_multiple_cancel_confirm in core/modules/user/
Form builder; Cancel multiple accounts at the same time.
user_pass_reset in core/modules/user/
Menu callback; process one time login link and redirects to the user page on success.
user_pass_reset_form_submit in core/modules/user/
Submit handler for user_pass_reset_form().
user_pass_reset_url in core/modules/user/user.module
Generates a unique URL for a user to login and reset their password.
user_user_view in core/modules/user/user.module
Implements hook_user_view().
view::pre_execute in core/modules/views/includes/
Run attachments and let the display do what it needs to do prior to running.
ViewsHandlerFieldDateTest::testFieldDate in core/modules/views/tests/handlers/views_handler_field_date.test
ViewsHandlerFilterMultipleTest::testMultipleFilters in core/modules/views/tests/handlers/views_handler_filter_multiple.test
Tests combining an exposed filter with a non-exposed one.
ViewsUIWizardItemsPerPageTestCase::testItemsPerPage in core/modules/views/tests/views_ui.test
Tests the number of items per page.
ViewsUIWizardSortingTestCase::testSorting in core/modules/views/tests/views_ui.test
Tests the sorting functionality.
views_handler_argument_date::get_default_argument in core/modules/views/handlers/
Set the empty argument value to the current date, formatted appropriately for this argument.
views_handler_field_date::options_form in core/modules/views/handlers/
Default options form that provides the label widget that all fields should have.
views_handler_field_date::render in core/modules/views/handlers/
Render the field.
views_handler_filter_history_user_timestamp::query in core/modules/node/views/
Add this filter to the query.
views_plugin_cache_time::cache_expire in core/modules/views/plugins/
Determine the expiration time of the cache type, or NULL if no expire.
views_ui_cache_set in core/modules/views_ui/views_ui.module
Specialized cache function to add a flag to our view, include an appropriate include, and cache more easily.
views_ui_edit_form in core/modules/views_ui/
Form builder callback for configuring a View.
views_views_query_substitutions in core/modules/views/views.module
Substitute current time; this works with cached queries.
watchdog_skip_semaphore in core/modules/simpletest/tests/actions_loop_test.module
Replacement of the watchdog() function that eliminates the use of semaphores so that we can test the abortion of an action loop.
_backdrop_bootstrap_page_cache in core/includes/
Attempts to serve a page from the cache.
_backdrop_flush_css_js in core/includes/
Changes the dummy query string added to all CSS and JavaScript files.
_backdrop_session_delete_cookie in core/includes/
Deletes the session cookie.
_backdrop_session_garbage_collection in core/includes/
Session handler assigned by session_set_save_handler().
_backdrop_session_write in core/includes/
Writes an entire session to the database (internal use only).
_comment_close_all in core/modules/comment/comment.module
Close all comments that meet the current threshold.
_config_sync_start in core/modules/config/
Batch API callback. Start the config import.
_update_cache_set in core/modules/update/update.module
Stores data in the private update status cache table.
_update_create_fetch_task in core/modules/update/
Adds a task to the queue for fetching release history data for a project.
_update_cron_notify in core/modules/update/
Performs any notifications that should be done once cron fetches new data.
_update_get_cached_available_releases in core/modules/update/update.module
Returns all currently cached data about available releases for all projects.