public function FieldItemInterface::__isset

Magic method: Determines whether a property is set.

Parameters

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

Return value

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

1 method overrides FieldItemInterface::__isset()
FieldItemBase::__isset in drupal/core/lib/Drupal/Core/Entity/Field/FieldItemBase.php
Implements \Drupal\Core\Entity\Field\FieldItemInterface::__isset().

File

drupal/core/lib/Drupal/Core/Entity/Field/FieldItemInterface.php, line 64
Contains \Drupal\Core\Entity\Field\FieldItemInterface.

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Entity\Field

Code

public function __isset($property_name);