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