_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

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

_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

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

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

_color_save_stylesheet

_color_save_stylesheet($file, $style, &$paths) Saves the rewritten stylesheet to disk. File core/modules/color/color.module, line 582 Allows users to change the color scheme of themes. Code function _color_save_stylesheet($file, $style, &$paths) { $filepath = file_unmanaged_save_data($style, $file, FILE_EXISTS_REPLACE); $paths['files'][] = $filepath; // Set standard file permissions for webserver-generated files. drupal_chmod($file); }