function MultiValueTestItem::mainPropertyName

Same name in other branches
  1. 9 core/modules/system/tests/modules/entity_test_update/src/Plugin/Field/FieldType/MultiValueTestItem.php \Drupal\entity_test_update\Plugin\Field\FieldType\MultiValueTestItem::mainPropertyName()
  2. 10 core/modules/system/tests/modules/entity_test_update/src/Plugin/Field/FieldType/MultiValueTestItem.php \Drupal\entity_test_update\Plugin\Field\FieldType\MultiValueTestItem::mainPropertyName()
  3. 11.x core/modules/system/tests/modules/entity_test_update/src/Plugin/Field/FieldType/MultiValueTestItem.php \Drupal\entity_test_update\Plugin\Field\FieldType\MultiValueTestItem::mainPropertyName()

Overrides FieldItemBase::mainPropertyName

File

core/modules/system/tests/modules/entity_test_update/src/Plugin/Field/FieldType/MultiValueTestItem.php, line 62

Class

MultiValueTestItem
Defines the 'multi_value_test' field type.

Namespace

Drupal\entity_test_update\Plugin\Field\FieldType

Code

public static function mainPropertyName() {
    return 'value1';
}

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