public function ViewModePageTestCase::assertPattern in View Mode Page 8.2
Same name and namespace in other branches
- 7.2 view_mode_page.test \ViewModePageTestCase::assertPattern()
Assert that a pattern exists as we intended
1 call to ViewModePageTestCase::assertPattern()
- ViewModePageTestCase::testAddPattern in ./
view_mode_page.test - Test adding a pattern with the non-entity based function
File
- ./
view_mode_page.test, line 55
Class
- ViewModePageTestCase
- Tests
Code
public function assertPattern($content_type, $view_mode, $url_pattern, $show_title = FALSE, $title = '') {
$this
->assertEntityPattern('node', $content_type, $view_mode, $url_pattern, $show_title, $title);
}