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

Breadcrumb

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

function Image::__construct

Same name in this branch
  1. 11.1.x vendor/symfony/validator/Constraints/Image.php \Symfony\Component\Validator\Constraints\Image::__construct()
  2. 11.1.x core/lib/Drupal/Core/Image/Image.php \Drupal\Core\Image\Image::__construct()
  3. 11.1.x core/modules/media/src/Plugin/media/Source/Image.php \Drupal\media\Plugin\media\Source\Image::__construct()

Overrides AbstractUriElement::__construct

File

vendor/symfony/dom-crawler/Image.php, line 19

Class

Image
Image represents an HTML image (an HTML img tag).

Namespace

Symfony\Component\DomCrawler

Code

public function __construct(\DOMElement $node, ?string $currentUri = null) {
    parent::__construct($node, $currentUri, 'GET');
}

API Navigation

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