public function AgreementEntityTest::renderProvider in Agreement 8.2
Same name and namespace in other branches
- 3.0.x tests/src/Unit/Plugin/views/field/AgreementEntityTest.php \Drupal\Tests\agreement\Unit\Plugin\views\field\AgreementEntityTest::renderProvider()
Provides test arguments for testing render method.
Return value
array An indexed array of tests to run with test arguments.
File
- tests/
src/ Unit/ Plugin/ views/ field/ AgreementEntityTest.php, line 127
Class
- AgreementEntityTest
- Tests the agreement entity views field plugin.
Namespace
Drupal\Tests\agreement\Unit\Plugin\views\fieldCode
public function renderProvider() {
return [
[
[],
'default',
],
[
[
'id',
],
'id',
],
[
[
'label',
],
'label',
],
[
[
'path',
],
'path',
],
[
[
'roles',
],
'roles',
],
[
[
'title',
],
'title',
],
];
}