You are here

public function FieldItemInterface::__isset in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::__isset()
  2. 9 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::__isset()

Magic method: Determines whether a property is set.

Parameters

string $property_name: The name of the property to get; e.g., 'title' or 'name'.

Return value

bool Returns TRUE if the property exists and is set, FALSE otherwise.

1 method overrides FieldItemInterface::__isset()
FieldItemBase::__isset in core/lib/Drupal/Core/Field/FieldItemBase.php
Magic method: Determines whether a property is set.

File

core/lib/Drupal/Core/Field/FieldItemInterface.php, line 152

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public function __isset($property_name);