Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ExecutionContextInterface.php

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

2 methods override ExecutionContextInterface::getPropertyName()
ExecutionContext::getPropertyName in core/lib/Drupal/Core/Validation/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.

File

vendor/symfony/validator/Context/ExecutionContextInterface.php, line 251

Class

ExecutionContextInterface
The context of a validation run.

Namespace

Symfony\Component\Validator\Context

Code

public function getPropertyName() : ?string;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal