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

Breadcrumb

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

function JSXFragment::setClosingFragment

Sets the closing fragment node

Parameters

JSXClosingFragment $closingFragment Closing fragment node:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/JSX/JSXFragment.php, line 121

Class

JSXFragment
A node that represents a JSX fragment.

Namespace

Peast\Syntax\Node\JSX

Code

public function setClosingFragment(JSXClosingFragment $closingFragment) {
    $this->closingFragment = $closingFragment;
    return $this;
}
RSS feed
Powered by Drupal