You are here

protected property QuickEditTestBase::$fields in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/quickedit/src/Tests/QuickEditTestBase.php \Drupal\quickedit\Tests\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/src/Tests/QuickEditTestBase.php, line 35
Contains \Drupal\quickedit\Tests\QuickEditTestBase.

Class

QuickEditTestBase
Base class for testing Quick Edit functionality.

Namespace

Drupal\quickedit\Tests

Code

protected $fields;