system_region_list

system_region_list($theme, $show = REGIONS_ALL) Get a list of available regions from a specified theme. Parameters \Drupal\Core\Extension\Extension|string $theme: A theme extension object, or the name of a theme. $show: Possible values: REGIONS_ALL or REGIONS_VISIBLE. Visible excludes hidden regions. Return value An array of regions in the form $region['name'] = 'description'. File core/modules/system/system.module, line 1107 Configuration system that lets administrators modify the workings o

system_requirements

system_requirements($phase) Implements hook_requirements(). File core/modules/system/system.install, line 25 Install, update and uninstall functions for the system module. Code function system_requirements($phase) { global $install_state; $requirements = array(); // Report Drupal version if ($phase == 'runtime') { $requirements['drupal'] = array( 'title' => t('Drupal'), 'value' => \Drupal::VERSION, 'severity' => REQUIREMENT_INFO, 'weight' => -1

system_register

system_register($type, $name, $uri) Registers an extension in runtime registries for execution. Parameters string $type: The extension type; e.g., 'module' or 'theme'. string $name: The internal name of the extension; e.g., 'node'. string $uri: The relative URI of the primary extension file; e.g., 'core/modules/node/node.module'. File core/includes/module.inc, line 75 API for loading and interacting with Drupal modules. Code function system_register($type, $name, $uri) { drupal_get_filenam

system_path_update

system_path_update($path) Implements hook_path_update(). File core/modules/system/system.module, line 1429 Configuration system that lets administrators modify the workings of the site. Code function system_path_update($path) { $alias_manager = \Drupal::service('path.alias_manager'); $alias_manager->cacheClear($path['source']); $alias_manager->cacheClear($path['original']['source']); }

system_preprocess_block

system_preprocess_block(&$variables) Implements hook_preprocess_HOOK() for block templates. File core/modules/system/system.module, line 827 Configuration system that lets administrators modify the workings of the site. Code function system_preprocess_block(&$variables) { switch ($variables['base_plugin_id']) { case 'system_branding_block': $variables['site_logo'] = ''; if ($variables['content']['site_logo']['#access'] && $variables['content']['site_logo']['#

system_path_delete

system_path_delete($path) Implements hook_path_delete(). File core/modules/system/system.module, line 1445 Configuration system that lets administrators modify the workings of the site. Code function system_path_delete($path) { \Drupal::service('path.alias_manager')->cacheClear($path['source']); }

system_path_insert

system_path_insert($path) Implements hook_path_insert(). File core/modules/system/system.module, line 1438 Configuration system that lets administrators modify the workings of the site. Code function system_path_insert($path) { \Drupal::service('path.alias_manager')->cacheClear($path['source']); }

system_query_entity_reference_alter

system_query_entity_reference_alter(AlterableInterface $query) Implements hook_query_TAG_alter() for entity reference selection handlers. File core/modules/system/system.module, line 1452 Configuration system that lets administrators modify the workings of the site. Code function system_query_entity_reference_alter(AlterableInterface $query) { $handler = $query->getMetadata('entity_reference_selection_handler'); $handler->entityQueryAlter($query); }

system_rebuild_module_data

system_rebuild_module_data() Rebuild, save, and return data about all currently available modules. Return value \Drupal\Core\Extension\Extension[] Array of all available modules and their data. File core/modules/system/system.module, line 1066 Configuration system that lets administrators modify the workings of the site. Code function system_rebuild_module_data() { $modules_cache = &drupal_static(__FUNCTION__); // Only rebuild once per request. $modules and $modules_cache cannot be

system_js_settings_alter

system_js_settings_alter(&$settings, AttachedAssetsInterface $assets) Implements hook_js_settings_alter(). Sets values which depend on the current request, like core/drupalSettings as well as theme_token ajax state. File core/modules/system/system.module, line 667 Configuration system that lets administrators modify the workings of the site. Code function system_js_settings_alter(&$settings, AttachedAssetsInterface $assets) { // As this is being output in the final response always u