public function ContentTranslationLocalTasksTest::providerTestBlockAdminDisplay in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php \Drupal\Tests\content_translation\Unit\Menu\ContentTranslationLocalTasksTest::providerTestBlockAdminDisplay()
Provides a list of routes to test.
File
- core/
modules/ content_translation/ tests/ src/ Unit/ Menu/ ContentTranslationLocalTasksTest.php, line 54 - Contains \Drupal\Tests\content_translation\Unit\Menu\ContentTranslationLocalTasksTest.
Class
- ContentTranslationLocalTasksTest
- Tests content translation local tasks.
Namespace
Drupal\Tests\content_translation\Unit\MenuCode
public function providerTestBlockAdminDisplay() {
return array(
array(
'entity.node.canonical',
array(
array(
'content_translation.local_tasks:entity.node.content_translation_overview',
'entity.node.canonical',
'entity.node.edit_form',
'entity.node.delete_form',
'entity.node.version_history',
),
),
),
array(
'entity.node.content_translation_overview',
array(
array(
'content_translation.local_tasks:entity.node.content_translation_overview',
'entity.node.canonical',
'entity.node.edit_form',
'entity.node.delete_form',
'entity.node.version_history',
),
),
),
);
}