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

Breadcrumb

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

function ElementException::getElement

Get the element that caused the exception.

Return value

Element

File

vendor/behat/mink/src/Exception/ElementException.php, line 59

Class

ElementException
A standard way for elements to re-throw exceptions.

Namespace

Behat\Mink\Exception

Code

public function getElement() {
    return $this->element;
}

API Navigation

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