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

Breadcrumb

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

function AbstractUriElement::getMethod

Gets the method associated with this link.

1 method overrides AbstractUriElement::getMethod()
Form::getMethod in vendor/symfony/dom-crawler/Form.php
Gets the form method.

File

vendor/symfony/dom-crawler/AbstractUriElement.php, line 57

Class

AbstractUriElement
Any HTML element that can link to an URI.

Namespace

Symfony\Component\DomCrawler

Code

public function getMethod() : string {
    return $this->method ?? 'GET';
}
RSS feed
Powered by Drupal