public function Schema::__set in Schemata 8
Magic method: Sets a property value.
Parameters
string $name: The name of the property to set; e.g., 'title' or 'name'.
\Drupal\Core\TypedData\DataDefinitionInterface $value: The value to set.
File
- src/
Schema/ Schema.php, line 202
Class
- Schema
- Schema class that describes a Drupal Entity or Entity Type.
Namespace
Drupal\schemata\SchemaCode
public function __set($name, DataDefinitionInterface $value) {
$this->properties[$name] = $value;
}