public function ExecutionContext::getPropertyName in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/validator/ExecutionContext.php \Symfony\Component\Validator\ExecutionContext::getPropertyName()
- 8.0 vendor/symfony/validator/Context/ExecutionContext.php \Symfony\Component\Validator\Context\ExecutionContext::getPropertyName()
- 8.0 core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php \Drupal\Core\TypedData\Validation\ExecutionContext::getPropertyName()
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php \Drupal\Core\TypedData\Validation\ExecutionContext::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.
Overrides ExecutionContextInterface::getPropertyName
File
- core/
lib/ Drupal/ Core/ TypedData/ Validation/ ExecutionContext.php, line 240 - Contains \Drupal\Core\TypedData\Validation\ExecutionContext.
Class
- ExecutionContext
- Defines an execution context class.
Namespace
Drupal\Core\TypedData\ValidationCode
public function getPropertyName() {
return $this->data
->getName();
}