You are here

public function FieldItemInterface::__unset in Drupal 10

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

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public function __unset($property_name);