_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_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

_content_translation_form_language_content_settings_form_alter

_content_translation_form_language_content_settings_form_alter(array &$form, FormStateInterface $form_state) (proxied) Implements hook_form_FORM_ID_alter(). File core/modules/content_translation/content_translation.admin.inc, line 79 The content translation administration forms. Code function _content_translation_form_language_content_settings_form_alter(array &$form, FormStateInterface $form_state) { // Inject into the content language settings the translation settings if the //

_contextual_id_to_links

_contextual_id_to_links($id) Unserializes the result of _contextual_links_to_id(). Parameters string $id: A serialized representation of a #contextual_links property value array. Return value array The value for a #contextual_links property. See also _contextual_links_to_id File core/modules/contextual/contextual.module, line 201 Adds contextual links to perform actions related to elements on a page. Code function _contextual_id_to_links($id) { $contextual_links = array(); $contexts =

_content_moderation_views_data_object

_content_moderation_views_data_object() Creates a ViewsData object to respond to views hooks. Return value \Drupal\content_moderation\ViewsData The content moderation ViewsData object. File core/modules/content_moderation/content_moderation.views.inc, line 32 Provide views data for content_moderation.module. Code function _content_moderation_views_data_object() { return new ViewsData( \Drupal::service('entity_type.manager'), \Drupal::service('content_moderation.moderation_information'

_content_translation_preprocess_language_content_settings_table

_content_translation_preprocess_language_content_settings_table(&$variables) (proxied) Implements hook_preprocess_HOOK(); File core/modules/content_translation/content_translation.admin.inc, line 170 The content translation administration forms. Code function _content_translation_preprocess_language_content_settings_table(&$variables) { // Alter the 'build' variable injecting the translation settings if the user // has the required permission. if (!\Drupal::currentUser()->has

_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); }

_contextual_links_to_id

_contextual_links_to_id($contextual_links) Serializes #contextual_links property value array to a string. Examples: node:node=1:langcode=en views_ui_edit:view=frontpage:location=page&view_name=frontpage&view_display_id=page_1&langcode=en menu:menu=tools:langcode=en|block:block=bartik.tools:langcode=en So, expressed in a pattern: <group>:<route parameters>:<metadata> The route parameters and options are encoded as query strings. Parameters array $contextual_links

_content_translation_is_field_translatability_configurable

_content_translation_is_field_translatability_configurable(EntityTypeInterface $entity_type, FieldStorageDefinitionInterface $definition) Checks whether translatability should be configurable for a field. @internal Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Field\FieldStorageDefinitionInterface $definition: The field storage definition. Return value bool TRUE if field translatability can be configured, FALSE otherwise. File core/m

_color_render_images

_color_render_images($theme, &$info, &$paths, $palette) Renders images that match a given palette. File core/modules/color/color.module, line 593 Allows users to change the color scheme of themes. Code function _color_render_images($theme, &$info, &$paths, $palette) { // Prepare template image. $source = $paths['source'] . '/' . $info['base_image']; $source = imagecreatefrompng($source); $width = imagesx($source); $height = imagesy($source); // Prepare target buff