_dblog_get_message_types

_dblog_get_message_types() Gathers a list of uniquely defined database log message types. Return value array List of uniquely defined database log message types. File core/modules/dblog/dblog.module, line 89 System monitoring and logging for administrators. Code function _dblog_get_message_types() { return db_query('SELECT DISTINCT(type) FROM {watchdog} ORDER BY type') ->fetchAllKeyed(0, 0); }

_drupal_error_handler

_drupal_error_handler($error_level, $message, $filename, $line, $context) Provides custom PHP error handling. Parameters $error_level: The level of the error raised. $message: The error message. $filename: The filename that the error was raised in. $line: The line number the error was raised at. $context: An array that points to the active symbol table at the point the error occurred. File core/includes/bootstrap.inc, line 546 Functions that need to be loaded on every Drupal request. Code fu

_drupal_error_handler_real

_drupal_error_handler_real($error_level, $message, $filename, $line, $context) Provides custom PHP error handling. Parameters $error_level: The level of the error raised. $message: The error message. $filename: The filename that the error was raised in. $line: The line number the error was raised at. $context: An array that points to the active symbol table at the point the error occurred. File core/includes/errors.inc, line 60 Functions for error handling. Code function _drupal_error_handle

_drupal_exception_handler

_drupal_exception_handler($exception) Provides custom PHP exception handling. Uncaught exceptions are those not enclosed in a try/catch block. They are always fatal: the execution of the script will stop as soon as the exception handler exits. Parameters \Exception|\Throwable $exception: The exception object that was thrown. File core/includes/bootstrap.inc, line 561 Functions that need to be loaded on every Drupal request. Code function _drupal_exception_handler($exception) { require_once

_drupal_exception_handler_additional

_drupal_exception_handler_additional($exception, $exception2) Displays any additional errors caught while handling an exception. Parameters \Exception|\Throwable $exception: The first exception object that was thrown. \Exception|\Throwable $exception2: The second exception object that was thrown. File core/includes/bootstrap.inc, line 587 Functions that need to be loaded on every Drupal request. Code function _drupal_exception_handler_additional($exception, $exception2) { // Another uncaug

_drupal_flush_css_js

_drupal_flush_css_js() Changes the dummy query string added to all CSS and JavaScript files. Changing the dummy query string appended to CSS and JavaScript files forces all browsers to reload fresh files. File core/includes/common.inc, line 1158 Common functions that many Drupal modules will need to reference. Code function _drupal_flush_css_js() { // The timestamp is converted to base 36 in order to make it more compact. Drupal::state()->set('system.css_js_query_string', base_convert(

_drupal_get_error_level

_drupal_get_error_level() Returns the current error level. This function should only be used to get the current error level prior to the kernel being booted or before Drupal is installed. In all other situations the following code is preferred: \Drupal::config('system.logging')->get('error_level'); Return value string The current error level. File core/includes/errors.inc, line 301 Functions for error handling. Code function _drupal_get_error_level() { // Raise the error level to maxim

_drupal_log_error

_drupal_log_error($error, $fatal = FALSE) Logs a PHP error or exception and displays an error page in fatal cases. Parameters $error: An array with the following keys: %type, @message, %function, %file, %line, @backtrace_string, severity_level, and backtrace. All the parameters are plain-text, with the exception of @message, which needs to be an HTML string, and backtrace, which is a standard PHP backtrace. bool $fatal: TRUE for: An exception is thrown and not caught by something else. A recov

_drupal_maintenance_theme

_drupal_maintenance_theme() Sets up the theming system for maintenance page. Used for site installs, updates and when the site is in maintenance mode. It also applies when the database is unavailable or bootstrap was not complete. Seven is always used for the initial install and update operations. In other cases, Bartik is used, but this can be overridden by setting a "maintenance_theme" key in the $settings variable in settings.php. File core/includes/theme.maintenance.inc, line 20 Theming for

_drupal_rewrite_settings_dump

_drupal_rewrite_settings_dump($variable, $variable_name) Helper for drupal_rewrite_settings(). Dump the relevant value properties. Parameters array|object $variable: The container for variable values. string $variable_name: Name of variable. Return value string A string containing valid PHP code of the variable suitable for placing into settings.php. File core/includes/install.inc, line 438 API functions for installing modules and themes. Code function _drupal_rewrite_settings_dump($variabl