AjaxRenderer::$elementInfoManager

The element info manager. Type: \Drupal\Core\Render\ElementInfoManagerInterface File core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php, line 30 Class AjaxRenderer Default main content renderer for Ajax requests. Namespace Drupal\Core\Render\MainContent Code protected $elementInfoManager;

AjaxRenderer::$controllerResolver

The controller resolver. Type: \Drupal\Core\Controller\ControllerResolverInterface File core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php, line 23 Class AjaxRenderer Default main content renderer for Ajax requests. Namespace Drupal\Core\Render\MainContent Code protected $controllerResolver;

AjaxRenderer

Default main content renderer for Ajax requests. Hierarchy class \Drupal\Core\Render\MainContent\AjaxRenderer implements MainContentRendererInterface File core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php, line 16 Namespace Drupal\Core\Render\MainContent Members Name Modifiers Type Description AjaxRenderer::$controllerResolver protected property The controller resolver. AjaxRenderer::$elementInfoManager protected property The element info manager. AjaxRe

AjaxBasePageNegotiator::__construct

public AjaxBasePageNegotiator::__construct(CsrfTokenGenerator $token_generator, ConfigFactoryInterface $config_factory, RequestStack $request_stack) Constructs a new AjaxBasePageNegotiator. Parameters \Drupal\Core\Access\CsrfTokenGenerator $token_generator: The CSRF token generator. \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory. \Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack used to retrieve the current request. File core/lib/D

AjaxBasePageNegotiator::determineActiveTheme

public AjaxBasePageNegotiator::determineActiveTheme(RouteMatchInterface $route_match) Determine the active theme for the request. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match object. Return value string|null The name of the theme, or NULL if other negotiators, like the configured default one, should be used instead. Overrides ThemeNegotiatorInterface::determineActiveTheme File core/lib/Drupal/Core/Theme/AjaxBasePageNegotiator.php, line 75 Class

AjaxBasePageNegotiator::applies

public AjaxBasePageNegotiator::applies(RouteMatchInterface $route_match) Whether this theme negotiator should be used to set the theme. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match object. Return value bool TRUE if this negotiator should be used or FALSE to let other negotiators decide. Overrides ThemeNegotiatorInterface::applies File core/lib/Drupal/Core/Theme/AjaxBasePageNegotiator.php, line 67 Class AjaxBasePageNegotiator Defines a theme ne

AjaxBasePageNegotiator::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/lib/Drupal/Core/Theme/AjaxBasePageNegotiator.php, line 46 Class AjaxBasePageNegotiator Defines a theme negotiator that deals with the active theme on ajax requests. Namespace Drupal\Core\Theme Code protected $requestStack;

AjaxBasePageNegotiator::$csrfGenerator

The CSRF token generator. Type: \Drupal\Core\Access\CsrfTokenGenerator File core/lib/Drupal/Core/Theme/AjaxBasePageNegotiator.php, line 32 Class AjaxBasePageNegotiator Defines a theme negotiator that deals with the active theme on ajax requests. Namespace Drupal\Core\Theme Code protected $csrfGenerator;

AjaxBasePageNegotiator::$configFactory

The config factory. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/lib/Drupal/Core/Theme/AjaxBasePageNegotiator.php, line 39 Class AjaxBasePageNegotiator Defines a theme negotiator that deals with the active theme on ajax requests. Namespace Drupal\Core\Theme Code protected $configFactory;

AjaxBasePageNegotiator

Defines a theme negotiator that deals with the active theme on ajax requests. Many different pages can invoke an Ajax request to a generic Ajax path. It is almost always desired for an Ajax response to be rendered using the same theme as the base page, because most themes are built with the assumption that they control the entire page, so if the CSS for two themes are both loaded for a given page, they may conflict with each other. For example, Bartik is Drupal's default theme, and Seven is Dru