public function LayoutBuilderBreadcrumbAlterTest::testBreadcrumbAlterNullRouteMatch in Drupal 10
Check that there are no errors when alter called with null route match.
File
- core/
modules/ layout_builder/ tests/ src/ Kernel/ LayoutBuilderBreadcrumbAlterTest.php, line 27
Class
Namespace
Drupal\Tests\layout_builder\KernelCode
public function testBreadcrumbAlterNullRouteMatch() {
$breadcrumb = new Breadcrumb();
$route_match = new NullRouteMatch();
layout_builder_system_breadcrumb_alter($breadcrumb, $route_match, []);
}