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

Breadcrumb

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

function Crawler::getNode

11 calls to Crawler::getNode()
Crawler::ancestors in vendor/symfony/dom-crawler/Crawler.php
Returns the ancestors of the current selection.
Crawler::attr in vendor/symfony/dom-crawler/Crawler.php
Returns the attribute value of the first node of the list.
Crawler::closest in vendor/symfony/dom-crawler/Crawler.php
Return first parents (heading toward the document root) of the Element that matches the provided selector.
Crawler::form in vendor/symfony/dom-crawler/Crawler.php
Returns a Form object for the first node in the list.
Crawler::html in vendor/symfony/dom-crawler/Crawler.php
Returns the first node of the list as HTML.

... See full list

File

vendor/symfony/dom-crawler/Crawler.php, line 1031

Class

Crawler
Crawler eases navigation of a list of \DOMNode objects.

Namespace

Symfony\Component\DomCrawler

Code

public function getNode(int $position) : ?\DOMNode {
    return $this->nodes[$position] ?? null;
}
RSS feed
Powered by Drupal