Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
IfStatement.php
function IfStatement::getAlternate
Returns the "else" statement
Return value
Statement
File
vendor/
mck89/
peast/
lib/
Peast/
Syntax/
Node/
IfStatement.php
, line 108
Class
IfStatement
A node that represents an if statement. For example: if (test) {} else {}
Namespace
Peast\Syntax\Node
Code
public
function
getAlternate
() {
return
$this
->
alternate
; }
RSS feed