Drupal Core APIs
Studying the DrupalKernel Object in Drupal
Request object
DrupalKernel object.
createFromRequest accepts a Request object for use in intializeSettings
Settings object.
Database static method
Kernel handle() does initializeSettings(Request $request) and boot()
DrupalKernel very important service container property, which holds all Drupal services, and notably the http_kernel service, which gives us
Old fashioned ...
GLOBAL $config variable and require statement for settings.php
a $databases array passed to a Database static method.
a $settings array passed to Settings object.
Tags
Making Database Updates Using hook_update_n in Drupal
drush ev 'print \Drupal::keyValue("system.schema")->get("crystalbit_entity_updates") . "\n";'
drush ev "\Drupal::keyValue('system.schema')->set('crystalbit_entity_updates', (int) 11102)";
Tags
Recent content
-
17 hours 52 minutes ago
-
22 hours 22 minutes ago
-
3 days ago
-
3 days ago
-
3 days 2 hours ago
-
3 days 16 hours ago
-
5 days 20 hours ago
-
5 days 20 hours ago
-
1 week 1 day ago
-
1 week 2 days ago