You are here

public function Schema::__unset in Schemata 8

Magic method: Unsets a property.

Parameters

string $name: The name of the property to unset; e.g., 'title' or 'name'.

File

src/Schema/Schema.php, line 177

Class

Schema
Schema class that describes a Drupal Entity or Entity Type.

Namespace

Drupal\schemata\Schema

Code

public function __unset($name) {
  unset($this->properties[$name]);
}