Drupal/notes
Jump to navigation
Jump to search
Working on fixes/improvements to the various file/web path calculations:
- drupal/core/lib/Drupal/Core/DrupalKernel.php
- (994) function initializeSettings()
- Sets up the Settings object with some path information.
- (1030) function initializeRequestGlobals()
- path calculations -- but doesn't use Settings object
- (994) function initializeSettings()
- drupal/core/lib/Drupal/Core/SitePathFactory.php
- Honestly not sure what this is good for. Nobody seems to use it.
- drupal/core/lib/Drupal/Core/Site/Settings.php
- Wrapper for the Settings.php site configuration file.
- drupal/core/lib/Drupal/Core/Update/UpdateKernel.php
- kernel class for {drupal root}/update.php
- function handleAccess()
- authorizes user
Things to search for:
- base_path(
- $base_path
Missing Features (Drupal 8)
- Can't easily display PDF files inline; can't easily upload non-image files to site.
- Frequently gets into states where there are errors with no obvious resolution. Have to muck with code to figure it out.