8 methods override FieldItemBase::mainPropertyName()

CommentItem::mainPropertyName in core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
Returns the name of the main property, if any.
DeprecatedReferenceItem::mainPropertyName in core/modules/jsonapi/tests/modules/jsonapi_test_reference_types/src/Plugin/Field/FieldType/DeprecatedReferenceItem.php
Returns the name of the main property, if any.
LayoutSectionItem::mainPropertyName in core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php
Returns the name of the main property, if any.
LinkItem::mainPropertyName in core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
Returns the name of the main property, if any.
MapItem::mainPropertyName in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/MapItem.php
Returns the name of the main property, if any.
MultiValueTestItem::mainPropertyName in core/modules/system/tests/modules/entity_test_update/src/Plugin/Field/FieldType/MultiValueTestItem.php
Returns the name of the main property, if any.
PathItem::mainPropertyName in core/modules/path/src/Plugin/Field/FieldType/PathItem.php
Returns the name of the main property, if any.
ShapeItem::mainPropertyName in core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ShapeItem.php
Returns the name of the main property, if any.

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