MetadataBubblingUrlGenerator::$urlGenerator

The non-bubbling URL generator. Type: \Drupal\Core\Routing\UrlGeneratorInterface File core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php, line 28 Class MetadataBubblingUrlGenerator Decorator for the URL generator, which bubbles bubbleable URL metadata. Namespace Drupal\Core\Render Code protected $urlGenerator;

MetadataBubblingUrlGenerator::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php, line 35 Class MetadataBubblingUrlGenerator Decorator for the URL generator, which bubbles bubbleable URL metadata. Namespace Drupal\Core\Render Code protected $renderer;

MetadataBubblingUrlGenerator

Decorator for the URL generator, which bubbles bubbleable URL metadata. Implements a decorator for the URL generator that allows to automatically collect and bubble up bubbleable metadata associated with URLs due to outbound path and route processing. This approach helps keeping the render and the routing subsystems decoupled. Hierarchy class \Drupal\Core\Render\MetadataBubblingUrlGenerator implements UrlGeneratorInterface See also \Drupal\Core\RouteProcessor\OutboundRouteProcessorInterface

MetadataBag::__construct

public MetadataBag::__construct(Settings $settings) Constructs a new metadata bag instance. Parameters \Drupal\Core\Site\Settings $settings: The settings instance. Overrides MetadataBag::__construct File core/lib/Drupal/Core/Session/MetadataBag.php, line 24 Class MetadataBag Provides a container for application specific session metadata. Namespace Drupal\Core\Session Code public function __construct(Settings $settings) { $update_threshold = $settings->get('session_write_interval'

MetadataBag::setCsrfTokenSeed

public MetadataBag::setCsrfTokenSeed($csrf_token_seed) Set the CSRF token seed. Parameters string $csrf_token_seed: The per-session CSRF token seed. File core/lib/Drupal/Core/Session/MetadataBag.php, line 35 Class MetadataBag Provides a container for application specific session metadata. Namespace Drupal\Core\Session Code public function setCsrfTokenSeed($csrf_token_seed) { $this->meta[static::CSRF_TOKEN_SEED] = $csrf_token_seed; }

MetadataBag::getCsrfTokenSeed

public MetadataBag::getCsrfTokenSeed() Get the CSRF token seed. Return value string|null The per-session CSRF token seed or null when no value is set. File core/lib/Drupal/Core/Session/MetadataBag.php, line 45 Class MetadataBag Provides a container for application specific session metadata. Namespace Drupal\Core\Session Code public function getCsrfTokenSeed() { if (isset($this->meta[static::CSRF_TOKEN_SEED])) { return $this->meta[static::CSRF_TOKEN_SEED]; } }

MetadataBag::CSRF_TOKEN_SEED

The key used to store the CSRF token seed in the session. File core/lib/Drupal/Core/Session/MetadataBag.php, line 16 Class MetadataBag Provides a container for application specific session metadata. Namespace Drupal\Core\Session Code const CSRF_TOKEN_SEED = 's';

MetadataBag::clearCsrfTokenSeed

public MetadataBag::clearCsrfTokenSeed() Clear the CSRF token seed. File core/lib/Drupal/Core/Session/MetadataBag.php, line 54 Class MetadataBag Provides a container for application specific session metadata. Namespace Drupal\Core\Session Code public function clearCsrfTokenSeed() { unset($this->meta[static::CSRF_TOKEN_SEED]); }

MetadataBag

Provides a container for application specific session metadata. Hierarchy class \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag implements \Symfony\Component\HttpFoundation\Session\Storage\SessionBagInterface class \Drupal\Core\Session\MetadataBag File core/lib/Drupal/Core/Session/MetadataBag.php, line 11 Namespace Drupal\Core\Session Members Name Modifiers Type Description MetadataBag::$lastUsed private property Unix timestamp. MetadataBag::$meta prot

MessageViewBuilder::view

public MessageViewBuilder::view(EntityInterface $entity, $view_mode = 'full', $langcode = NULL) Builds the render array for the provided entity. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity to render. string $view_mode: (optional) The view mode that should be used to render the entity. string $langcode: (optional) For which language the entity should be rendered, defaults to the current content language. Return value array A render array for the entity. Throws \InvalidA