public function EntityTypeInterface::set in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::set()
- 10 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::set()
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 57
Class
- EntityTypeInterface
- Provides an interface for an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function set($property, $value);