Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FlashBagInterface.php

function FlashBagInterface::set

Registers one or more messages for a given type.

2 methods override FlashBagInterface::set()
AutoExpireFlashBag::set in vendor/symfony/http-foundation/Session/Flash/AutoExpireFlashBag.php
Registers one or more messages for a given type.
FlashBag::set in vendor/symfony/http-foundation/Session/Flash/FlashBag.php
Registers one or more messages for a given type.

File

vendor/symfony/http-foundation/Session/Flash/FlashBagInterface.php, line 31

Class

FlashBagInterface
FlashBagInterface.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

public function set(string $type, string|array $messages) : void;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal