You are here

public function Matrix::getRootElement in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Util/Flowchart/Matrix.php \Drupal\business_rules\Util\Flowchart\Matrix::getRootElement()

Get the root element.

Return value

\Drupal\business_rules\Util\Flowchart\Element The root element.

1 call to Matrix::getRootElement()
Matrix::putElement in src/Util/Flowchart/Matrix.php
Put an element inside the matrix.

File

src/Util/Flowchart/Matrix.php, line 276

Class

Matrix
The matrix to handle the Business Rule flowchart.

Namespace

Drupal\business_rules\Util\Flowchart

Code

public function getRootElement() {
  return $this->rootElement;
}