QuickEditTestBase::$fields
Same name in other branches
- 9 core/modules/quickedit/tests/src/Kernel/QuickEditTestBase.php \Drupal\Tests\quickedit\Kernel\QuickEditTestBase::fields
Bag of created fields.
Allows easy access to test field names/IDs/objects via:
- $this->fields->{$field_name}_field_storage
- $this->fields->{$field_name}_instance
Type: \ArrayObject
See also
\Drupal\quickedit\Tests\QuickEditTestBase::createFieldWithStorage()
File
-
core/
modules/ quickedit/ tests/ src/ Kernel/ QuickEditTestBase.php, line 41
Class
- QuickEditTestBase
- Base class for testing Quick Edit functionality.
Namespace
Drupal\Tests\quickedit\KernelCode
protected $fields;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.