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

Breadcrumb

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

function OutputRules::getXPath

1 call to OutputRules::getXPath()
OutputRules::nonBooleanAttribute in vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php

File

vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php, line 418

Class

OutputRules
Generate the output html5 based on element rules.

Namespace

Masterminds\HTML5\Serializer

Code

private function getXPath(\DOMNode $node) {
    if (!$this->xpath) {
        $this->xpath = new \DOMXPath($node->ownerDocument);
    }
    return $this->xpath;
}

API Navigation

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