public function SubrequestsTree::getNumLevels in Subrequests 3.x
Same name and namespace in other branches
- 8.2 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();
}