You are here

public function ExecutionContextInterface::getPropertyName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/ExecutionContextInterface.php \Symfony\Component\Validator\ExecutionContextInterface::getPropertyName()

Returns the property name of the current node.

If the metadata of the current node does not implement {@link PropertyMetadataInterface} or if no metadata is available for the current node, this method returns null.

Return value

string|null The property name or null, if no property name could be found.

3 methods override ExecutionContextInterface::getPropertyName()
ExecutionContext::getPropertyName in vendor/symfony/validator/ExecutionContext.php
Returns the property name of the current node.
ExecutionContext::getPropertyName in vendor/symfony/validator/Context/ExecutionContext.php
Returns the property name of the current node.
ExecutionContext::getPropertyName in core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
Returns the property name of the current node.

File

vendor/symfony/validator/ExecutionContextInterface.php, line 285

Class

ExecutionContextInterface
Stores the validator's state during validation.

Namespace

Symfony\Component\Validator

Code

public function getPropertyName();