public function Element::__construct in Zircon Profile 8
Same name in this branch
- 8 core/modules/editor/src/Element.php \Drupal\editor\Element::__construct()
- 8 vendor/behat/mink/src/Element/Element.php \Behat\Mink\Element\Element::__construct()
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Element/Element.php \Behat\Mink\Element\Element::__construct()
Initialize element.
Parameters
Session $session:
1 call to Element::__construct()
- NodeElement::__construct in vendor/
behat/ mink/ src/ Element/ NodeElement.php - Initializes node element.
1 method overrides Element::__construct()
- NodeElement::__construct in vendor/
behat/ mink/ src/ Element/ NodeElement.php - Initializes node element.
File
- vendor/
behat/ mink/ src/ Element/ Element.php, line 53
Class
- Element
- Base element.
Namespace
Behat\Mink\ElementCode
public function __construct(Session $session) {
$this->xpathManipulator = new Manipulator();
$this->session = $session;
$this->driver = $session
->getDriver();
$this->selectorsHandler = $session
->getSelectorsHandler();
}