public static property AddAnotherItemButtonTest::$modules in Custom add another 8
Modules to enable.
The test runner will merge the $modules lists from this class, the class it extends, and so on up the class hierarchy. It is not necessary to include modules in your list that a parent class has already declared.
Type: string[]
Overrides BrowserTestBase::$modules
See also
\Drupal\Tests\BrowserTestBase::installDrupal()
File
- src/
Tests/ AddAnotherItemButtonTest.php, line 18
Class
- AddAnotherItemButtonTest
- Test case for 'Add another item' button label alter.
Namespace
Drupal\custom_add_another\TestsCode
public static $modules = [
'node',
'field_test',
'options',
'entity_test',
'custom_add_another',
];