public function EntityOperationsUnitTest::testDefineOptions in Drupal 9
Same name and namespace in other branches
- 8 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 88
Class
- EntityOperationsUnitTest
- @coversDefaultClass \Drupal\views\Plugin\views\field\EntityOperations @group Views
Namespace
Drupal\Tests\views\Unit\Plugin\views\fieldCode
public function testDefineOptions() {
$options = $this->plugin
->defineOptions();
$this
->assertIsArray($options);
$this
->assertArrayHasKey('destination', $options);
}