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

Breadcrumb

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

function JSXElement::setOpeningElement

Sets the opening element node

Parameters

JSXOpeningElement $openingElement Opening element node:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/JSX/JSXElement.php, line 71

Class

JSXElement
A node that represents a JSX element.

Namespace

Peast\Syntax\Node\JSX

Code

public function setOpeningElement(JSXOpeningElement $openingElement) {
    $this->openingElement = $openingElement;
    return $this;
}
RSS feed
Powered by Drupal