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

Breadcrumb

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

function DocumentElement::getContent

Returns document content.

Return value

string

File

vendor/behat/mink/src/Element/DocumentElement.php, line 35

Class

DocumentElement
Document element.

Namespace

Behat\Mink\Element

Code

public function getContent() {
    return trim($this->getDriver()
        ->getContent());
}

API Navigation

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