Difference between revisions of "Drupal/notes"
< Drupal
Jump to navigation
Jump to search
(Created page with "Working on fixes/improvements to the various file/web path calculations: * drupal/core/lib/Drupal/Core/DrupalKernel.php ** (994) function initializeSettings() *** Sets up the...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
* base_path( | * base_path( | ||
* $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. |
Latest revision as of 00:13, 18 July 2016
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.