You are here

public function Schema::__isset in Schemata 8

Magic method: Determines whether a property is set.

Parameters

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

Return value

bool Returns TRUE if the property exists and is set, FALSE otherwise.

File

src/Schema/Schema.php, line 190

Class

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

Namespace

Drupal\schemata\Schema

Code

public function __isset($name) {
  return isset($this->properties[$name]);
}