You are here

public function Schema::addProperties in Schemata 8

Add additional data properties to the Schema.

Parameters

\Drupal\Core\TypedData\DataDefinitionInterface[] $properties: The property data definitions.

Overrides SchemaInterface::addProperties

1 call to Schema::addProperties()
Schema::__construct in src/Schema/Schema.php
Creates a Schema object.

File

src/Schema/Schema.php, line 99

Class

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

Namespace

Drupal\schemata\Schema

Code

public function addProperties(array $properties) {
  $this->properties += $properties;
}