namespace Drupal\Core

Same name in other branches
  1. 8.9.x Drupal\Core
  2. 10 Drupal\Core
  3. 11.x Drupal\Core
Object name File name Summary
AppRootFactory core/lib/Drupal/Core/AppRootFactory.php Gets the app root from the kernel.
CoreServiceProvider core/lib/Drupal/Core/CoreServiceProvider.php ServiceProvider class for mandatory core services.
Cron core/lib/Drupal/Core/Cron.php The Drupal core Cron service.
CronInterface core/lib/Drupal/Core/CronInterface.php An interface for running cron tasks.
DestructableInterface core/lib/Drupal/Core/DestructableInterface.php The interface for services that need explicit destruction.
DrupalKernel core/lib/Drupal/Core/DrupalKernel.php The DrupalKernel class is the core of Drupal itself.
DrupalKernelInterface core/lib/Drupal/Core/DrupalKernelInterface.php The interface for DrupalKernel, the core of Drupal.
GeneratedButton core/lib/Drupal/Core/GeneratedButton.php This class holds a <button> generated from the <button> route.
GeneratedLink core/lib/Drupal/Core/GeneratedLink.php Used to return generated links, along with associated cacheability metadata.
GeneratedNoLink core/lib/Drupal/Core/GeneratedNoLink.php This class holds a <span> generated from the <nolink> route.
GeneratedUrl core/lib/Drupal/Core/GeneratedUrl.php Used to return generated URLs, along with associated bubbleable metadata.
Link core/lib/Drupal/Core/Link.php Defines an object that holds information about a link.
PrivateKey core/lib/Drupal/Core/PrivateKey.php Manages the Drupal private key.
SitePathFactory core/lib/Drupal/Core/SitePathFactory.php Gets the site path from the kernel.
Url core/lib/Drupal/Core/Url.php Defines an object that holds information about a URL.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.