public function SubrequestsTree::getNumLevels in Subrequests 8.2
Same name and namespace in other branches
- 3.x src/SubrequestsTree.php \Drupal\subrequests\SubrequestsTree::getNumLevels()
Gets the number of levels in the stack.
Return value
int
File
- src/
SubrequestsTree.php, line 36
Class
- SubrequestsTree
- Value class that holds the execution tree.
Namespace
Drupal\subrequestsCode
public function getNumLevels() {
return $this
->count();
}