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

Breadcrumb

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

function RulesInterface::text

Write a text node.

Instead of returning the result write it to the output stream ($output) that was passed into the constructor.

Parameters

mixed $ele:

1 method overrides RulesInterface::text()
OutputRules::text in vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php
Write a text node.

File

vendor/masterminds/html5/src/HTML5/Serializer/RulesInterface.php, line 66

Class

RulesInterface
To create a new rule set for writing output the RulesInterface needs to be implemented. The resulting class can be specified in the options with the key of rules.

Namespace

Masterminds\HTML5\Serializer

Code

public function text($ele);

API Navigation

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