You are here

public function TypedDataInterface::getPropertyPath in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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.

2 methods override TypedDataInterface::getPropertyPath()
TestComplexData::getPropertyPath in core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php
Returns the property path of the data.
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 152
Contains \Drupal\Core\TypedData\TypedDataInterface.

Class

TypedDataInterface
Interface for typed data objects.

Namespace

Drupal\Core\TypedData

Code

public function getPropertyPath();