function FieldItemInterface::__unset

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