DrupalTranslator

Translates strings using Drupal's translation system. This class is used by the Symfony validator to translate violation messages. Hierarchy class \Drupal\Core\Validation\DrupalTranslator implements TranslatorInterface File core/lib/Drupal/Core/Validation/DrupalTranslator.php, line 13 Namespace Drupal\Core\Validation Members Name Modifiers Type Description DrupalTranslator::$locale protected property The locale used for translating. DrupalTranslator::getLocale public

DrupalKernelInterface::updateModules

public DrupalKernelInterface::updateModules(array $module_list, array $module_filenames = array()) Updates the kernel's list of modules to the new list. The kernel needs to update its bundle list and container to match the new list. Parameters array $module_list: The new list of modules. array $module_filenames: List of module filenames, keyed by module name. File core/lib/Drupal/Core/DrupalKernelInterface.php, line 103 Class DrupalKernelInterface The interface for DrupalKernel, the core

DrupalKernelInterface::shutdown

public DrupalKernelInterface::shutdown() Shuts down the kernel. File core/lib/Drupal/Core/DrupalKernelInterface.php, line 27 Class DrupalKernelInterface The interface for DrupalKernel, the core of Drupal. Namespace Drupal\Core Code public function shutdown();

DrupalKernelInterface::setSitePath

public DrupalKernelInterface::setSitePath($path) Set the current site path. Parameters string $path: The current site path. Throws \LogicException In case the kernel is already booted. File core/lib/Drupal/Core/DrupalKernelInterface.php, line 75 Class DrupalKernelInterface The interface for DrupalKernel, the core of Drupal. Namespace Drupal\Core Code public function setSitePath($path);

DrupalKernelInterface::rebuildContainer

public DrupalKernelInterface::rebuildContainer() Force a container rebuild. Return value \Symfony\Component\DependencyInjection\ContainerInterface File core/lib/Drupal/Core/DrupalKernelInterface.php, line 110 Class DrupalKernelInterface The interface for DrupalKernel, the core of Drupal. Namespace Drupal\Core Code public function rebuildContainer();

DrupalKernelInterface::prepareLegacyRequest

public DrupalKernelInterface::prepareLegacyRequest(Request $request) Prepare the kernel for handling a request without handling the request. Parameters \Symfony\Component\HttpFoundation\Request $request: The current request. Return value $this Deprecated in Drupal 8.0.x and will be removed before 9.0.0. Only used by legacy front-controller scripts. File core/lib/Drupal/Core/DrupalKernelInterface.php, line 128 Class DrupalKernelInterface The interface for DrupalKernel, the core of Drup

DrupalKernelInterface::preHandle

public DrupalKernelInterface::preHandle(Request $request) Helper method that does request related initialization. Parameters \Symfony\Component\HttpFoundation\Request $request: The current request. File core/lib/Drupal/Core/DrupalKernelInterface.php, line 136 Class DrupalKernelInterface The interface for DrupalKernel, the core of Drupal. Namespace Drupal\Core Code public function preHandle(Request $request);

DrupalKernelInterface::loadLegacyIncludes

public DrupalKernelInterface::loadLegacyIncludes() Helper method that loads legacy Drupal include files. File core/lib/Drupal/Core/DrupalKernelInterface.php, line 141 Class DrupalKernelInterface The interface for DrupalKernel, the core of Drupal. Namespace Drupal\Core Code public function loadLegacyIncludes();

DrupalKernelInterface::invalidateContainer

public DrupalKernelInterface::invalidateContainer() Invalidate the service container for the next request. File core/lib/Drupal/Core/DrupalKernelInterface.php, line 115 Class DrupalKernelInterface The interface for DrupalKernel, the core of Drupal. Namespace Drupal\Core Code public function invalidateContainer();

DrupalKernelInterface::getSitePath

public DrupalKernelInterface::getSitePath() Get the site path. Return value string The current site path. File core/lib/Drupal/Core/DrupalKernelInterface.php, line 83 Class DrupalKernelInterface The interface for DrupalKernel, the core of Drupal. Namespace Drupal\Core Code public function getSitePath();