function HelpTestTwigNodeVisitor::getState
Returns the state information.
Return value
array The state information.
1 call to HelpTestTwigNodeVisitor::getState()
- HelpTestTwigNodeVisitor::leaveNode in core/
modules/ help/ tests/ modules/ help_topics_twig_tester/ src/ HelpTestTwigNodeVisitor.php
File
-
core/
modules/ help/ tests/ modules/ help_topics_twig_tester/ src/ HelpTestTwigNodeVisitor.php, line 146
Class
- HelpTestTwigNodeVisitor
- Defines a Twig node visitor for testing help topics.
Namespace
Drupal\help_topics_twig_testerCode
public static function getState() {
return \Drupal::state()->get(static::STATE_NAME, [
'manner' => 0,
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.