function EntityOperationsUnitTest::testDefineOptions
Same name in other branches
- 9 core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php \Drupal\Tests\views\Unit\Plugin\views\field\EntityOperationsUnitTest::testDefineOptions()
- 8.9.x core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php \Drupal\Tests\views\Unit\Plugin\views\field\EntityOperationsUnitTest::testDefineOptions()
- 10 core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php \Drupal\Tests\views\Unit\Plugin\views\field\EntityOperationsUnitTest::testDefineOptions()
@covers ::defineOptions
File
-
core/
modules/ views/ tests/ src/ Unit/ Plugin/ views/ field/ EntityOperationsUnitTest.php, line 95
Class
- EntityOperationsUnitTest
- @coversDefaultClass \Drupal\views\Plugin\views\field\EntityOperations @group Views
Namespace
Drupal\Tests\views\Unit\Plugin\views\fieldCode
public function testDefineOptions() : void {
$options = $this->plugin
->defineOptions();
$this->assertIsArray($options);
$this->assertArrayHasKey('destination', $options);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.