W3cubDocs

/Drupal 8

public function TypedDataInterface::getPropertyPath

public 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.

File

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

Class

TypedDataInterface
Interface for typed data objects.

Namespace

Drupal\Core\TypedData

Code

public function getPropertyPath();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!TypedDataInterface.php/function/TypedDataInterface::getPropertyPath/8.1.x