function FieldItemInterface::__isset

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::__isset()
  2. 8.9.x core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::__isset()
  3. 10 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

File

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

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public function __isset($property_name);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.