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

Breadcrumb

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

function SessionInterface::remove

Removes an attribute.

Return value

mixed The removed value or null when it does not exist

1 method overrides SessionInterface::remove()
Session::remove in vendor/symfony/http-foundation/Session/Session.php
Removes an attribute.

File

vendor/symfony/http-foundation/Session/SessionInterface.php, line 114

Class

SessionInterface
Interface for the session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function remove(string $name) : mixed;
RSS feed
Powered by Drupal