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

Breadcrumb

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

function TreeBuildingRules::hasRules

Returns true if the given tagname has special processing rules.

File

vendor/masterminds/html5/src/HTML5/Parser/TreeBuildingRules.php, line 38

Class

TreeBuildingRules
Handles special-case rules for the DOM tree builder.

Namespace

Masterminds\HTML5\Parser

Code

public function hasRules($tagname) {
    return isset(static::$tags[$tagname]);
}

API Navigation

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