function NodeTitleTestBase::getTheme
Get the theme name.
Return value
string The theme to test.
1 call to NodeTitleTestBase::getTheme()
- NodeTitleTestBase::testNodeWithTitle0 in core/
modules/ system/ tests/ src/ Functional/ Theme/ NodeTitleTestBase.php - Creates one node with title 0 and tests if the node title has the correct value.
File
-
core/
modules/ system/ tests/ src/ Functional/ Theme/ NodeTitleTestBase.php, line 46
Class
- NodeTitleTestBase
- Tests node title for a theme.
Namespace
Drupal\Tests\system\Functional\ThemeCode
protected function getTheme() : string {
return explode('\\', get_class($this))[2];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.