Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
OutputRules.php
function OutputRules::addRule
File
vendor/
masterminds/
html5/
src/
HTML5/
Serializer/
OutputRules.php
, line 173
Class
OutputRules
Generate the output html5 based on element rules.
Namespace
Masterminds\HTML5\Serializer
Code
public
function
addRule
(array
$rule
) {
$this
->
nonBooleanAttributes
[] =
$rule
; }
RSS feed