function FieldItemInterface::__isset
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::__isset()
- 8.9.x core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::__isset()
- 11.x 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 155
Class
- FieldItemInterface
- Interface for entity field items.
Namespace
Drupal\Core\FieldCode
public function __isset($property_name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.