protected function LinkcheckerRepair301Test::reloadNode in Link checker 8
Gets node last updated data from DB.
Parameters
\Drupal\node\NodeInterface $node: Node to reload.
Return value
\Drupal\Core\Entity\EntityInterface|\Drupal\node\Entity\Node|null Reloaded node.
1 call to LinkcheckerRepair301Test::reloadNode()
- LinkcheckerRepair301Test::testStatusHandling in tests/
src/ Kernel/ LinkcheckerRepair301Test.php - Test link checker service status handling.
File
- tests/
src/ Kernel/ LinkcheckerRepair301Test.php, line 209
Class
- LinkcheckerRepair301Test
- Test for Repair on 301 status handling.
Namespace
Drupal\Tests\linkchecker\KernelCode
protected function reloadNode(NodeInterface $node) {
return Node::load($node
->id());
}