BaseFieldDefinitionTestBase::$definition

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php \Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase::definition
  2. 8.9.x core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php \Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase::definition
  3. 10 core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php \Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase::definition

The field definition used in this test.

Type: \Drupal\Core\Field\BaseFieldDefinition

File

core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php, line 24

Class

BaseFieldDefinitionTestBase
Provides setup method for testing base field definitions.

Namespace

Drupal\Tests\Core\Field

Code

protected $definition;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.