public function LocalTasksTest::getPageRoutesEntity in Twitter Profile Widget 8
Provides a list of routes to test.
Return value
array[] An array containing arrays with the arguments for a testLocalTasksEntity() call.
File
- tests/
src/ Unit/ Menu/ LocalTasksTest.php, line 54
Class
- LocalTasksTest
- Tests whether Twitter Profile Widget local tasks work correctly.
Namespace
Drupal\Tests\twitter_profile_widget\Unit\MenuCode
public function getPageRoutesEntity() {
return [
[
'entity.twitter_widget.canonical',
],
[
'entity.twitter_widget.edit_form',
],
[
'entity.twitter_widget.delete_form',
],
];
}