function PostSaveProcessTest::testNeedsRouterRebuild
Tests router rebuild flagging.
File
-
core/
modules/ views/ tests/ src/ Unit/ PostSaveProcessTest.php, line 24
Class
Namespace
Drupal\Tests\views\UnitCode
public function testNeedsRouterRebuild() : void {
$postSaveProcess = new PostSaveProcess();
$this->assertFalse($postSaveProcess->needsRouterRebuild());
$postSaveProcess->setRouterRebuild();
$this->assertTrue($postSaveProcess->needsRouterRebuild());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.