function FieldItemInterface::__unset
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::__unset()
- 8.9.x core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::__unset()
- 11.x core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::__unset()
Magic method: Unsets a property.
Parameters
string $property_name: The name of the property to get; e.g., 'title' or 'name'.
1 method overrides FieldItemInterface::__unset()
- FieldItemBase::__unset in core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php - Magic method: Unsets a property.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemInterface.php, line 163
Class
- FieldItemInterface
- Interface for entity field items.
Namespace
Drupal\Core\FieldCode
public function __unset($property_name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.