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

Breadcrumb

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

function ElementInterface::getSession

Returns element's session.

Return value

Session

Deprecated

Accessing the session from the element is deprecated as of 1.6 and will be impossible in 2.0.

1 method overrides ElementInterface::getSession()
Element::getSession in vendor/behat/mink/src/Element/Element.php
Returns element session.

File

vendor/behat/mink/src/Element/ElementInterface.php, line 36

Class

ElementInterface
Element interface.

Namespace

Behat\Mink\Element

Code

public function getSession();

API Navigation

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