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

Breadcrumb

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

function OutputRules::processorInstruction

Overrides RulesInterface::processorInstruction

File

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

Class

OutputRules
Generate the output html5 based on element rules.

Namespace

Masterminds\HTML5\Serializer

Code

public function processorInstruction($ele) {
    $this->wr('<?')
        ->wr($ele->target)
        ->wr(' ')
        ->wr($ele->data)
        ->wr('?>');
}

API Navigation

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