8.2.x EntityTypeInterface.php public EntityTypeInterface::set($property, $value)
8.0.x EntityTypeInterface.php public EntityTypeInterface::set($property, $value)
8.1.x EntityTypeInterface.php public EntityTypeInterface::set($property, $value)
8.3.x EntityTypeInterface.php public EntityTypeInterface::set($property, $value)

Sets a value to an arbitrary property.

Parameters

string $property: The property to use for the value.

mixed $value: The value to set.

Return value

$this

1 method overrides EntityTypeInterface::set()
EntityType::set in core/lib/Drupal/Core/Entity/EntityType.php
Sets a value to an arbitrary property.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 48

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function set($property, $value);