function FieldItemInterface::__unset

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

File

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

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public function __unset($property_name);

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