function TypedDataInterface::getPropertyPath

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/TypedDataInterface.php \Drupal\Core\TypedData\TypedDataInterface::getPropertyPath()
  2. 8.9.x core/lib/Drupal/Core/TypedData/TypedDataInterface.php \Drupal\Core\TypedData\TypedDataInterface::getPropertyPath()
  3. 10 core/lib/Drupal/Core/TypedData/TypedDataInterface.php \Drupal\Core\TypedData\TypedDataInterface::getPropertyPath()

Returns the property path of the data.

The trail of property names relative to the root of the typed data tree, separated by dots; e.g. 'field_text.0.format'.

Return value

string The property path relative to the root of the typed tree, or an empty string if this is the root.

1 method overrides TypedDataInterface::getPropertyPath()
TypedData::getPropertyPath in core/lib/Drupal/Core/TypedData/TypedData.php
Returns the property path of the data.

File

core/lib/Drupal/Core/TypedData/TypedDataInterface.php, line 147

Class

TypedDataInterface
Interface for typed data objects.

Namespace

Drupal\Core\TypedData

Code

public function getPropertyPath();

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