SystemController

Returns responses for System routes. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\system\Controller\SystemController File core/modules/system/src/Controller/SystemController.php, line 20 Namespace Drupal\system\Controller Members Name Modifiers Type Description ControllerBase::$configFactory protected

SystemConfigSubscriber::__construct

public SystemConfigSubscriber::__construct(RouteBuilderInterface $router_builder) Constructs the SystemConfigSubscriber. Parameters \Drupal\Core\Routing\RouteBuilderInterface $route_builder: The router builder service. File core/modules/system/src/SystemConfigSubscriber.php, line 31 Class SystemConfigSubscriber System Config subscriber. Namespace Drupal\system Code public function __construct(RouteBuilderInterface $router_builder) { $this->routerBuilder = $router_builder; }

SystemConfigSubscriber::onConfigSave

public SystemConfigSubscriber::onConfigSave(ConfigCrudEvent $event) Rebuilds the router when the default or admin theme is changed. Parameters \Drupal\Core\Config\ConfigCrudEvent $event: File core/modules/system/src/SystemConfigSubscriber.php, line 40 Class SystemConfigSubscriber System Config subscriber. Namespace Drupal\system Code public function onConfigSave(ConfigCrudEvent $event) { $saved_config = $event->getConfig(); if ($saved_config->getName() == 'system.theme' &

SystemConfigSubscriber::onConfigImporterValidateSiteUUID

public SystemConfigSubscriber::onConfigImporterValidateSiteUUID(ConfigImporterEvent $event) Checks that the configuration synchronization is valid. This event listener checks that the system.site:uuid's in the source and target match. Parameters ConfigImporterEvent $event: The config import event. File core/modules/system/src/SystemConfigSubscriber.php, line 74 Class SystemConfigSubscriber System Config subscriber. Namespace Drupal\system Code public function onConfigImporterValidateS

SystemConfigSubscriber::onConfigImporterValidateNotEmpty

public SystemConfigSubscriber::onConfigImporterValidateNotEmpty(ConfigImporterEvent $event) Checks that the configuration synchronization is valid. This event listener prevents deleting all configuration. If there is nothing to import then event propagation is stopped because there is no config import to validate. Parameters \Drupal\Core\Config\ConfigImporterEvent $event: The config import event. File core/modules/system/src/SystemConfigSubscriber.php, line 57 Class SystemConfigSubscriber

SystemConfigSubscriber::getSubscribedEvents

public static SystemConfigSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)

SystemConfigSubscriber::$routerBuilder

The router builder. Type: \Drupal\Core\Routing\RouteBuilderInterface File core/modules/system/src/SystemConfigSubscriber.php, line 23 Class SystemConfigSubscriber System Config subscriber. Namespace Drupal\system Code protected $routerBuilder;

SystemConfigSubscriber

System Config subscriber. Hierarchy class \Drupal\system\SystemConfigSubscriber implements EventSubscriberInterface uses StringTranslationTrait File core/modules/system/src/SystemConfigSubscriber.php, line 15 Namespace Drupal\system Members Name Modifiers Type Description StringTranslationTrait::$stringTranslation protected property The string translation service. StringTranslationTrait::formatPlural protected function Formats a string containing a count of items

SystemCompactLink::preRenderCompactLink

public static SystemCompactLink::preRenderCompactLink($element) Pre-render callback: Renders a link into #markup. Doing so during pre_render gives modules a chance to alter the link parts. Parameters array $element: A structured array whose keys form the arguments to Drupal::l(): #title: The link text to pass as argument to Drupal::l(). One of the following: #route_name and (optionally) a #route_parameters array; The route name and route parameters which will be passed into the link generator

SystemCompactLink::getInfo

public SystemCompactLink::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides Link::getInfo File core/lib/Drupal/Core/Render/Element/SystemCompactLink.php, line 25 Class SystemCompactLink Provides a link to show or hide help text on administration pages. Namespace Dru