function PathItem::mainPropertyName

Same name and namespace in other branches
  1. 9 core/modules/path/src/Plugin/Field/FieldType/PathItem.php \Drupal\path\Plugin\Field\FieldType\PathItem::mainPropertyName()
  2. 8.9.x core/modules/path/src/Plugin/Field/FieldType/PathItem.php \Drupal\path\Plugin\Field\FieldType\PathItem::mainPropertyName()
  3. 10 core/modules/path/src/Plugin/Field/FieldType/PathItem.php \Drupal\path\Plugin\Field\FieldType\PathItem::mainPropertyName()

Overrides FieldItemBase::mainPropertyName

File

core/modules/path/src/Plugin/Field/FieldType/PathItem.php, line 119

Class

PathItem
Defines the 'path' entity field type.

Namespace

Drupal\path\Plugin\Field\FieldType

Code

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

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