function ConfigEntityInterface::set
Same name in other branches
- 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php \Drupal\Core\Config\Entity\ConfigEntityInterface::set()
- 10 core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php \Drupal\Core\Config\Entity\ConfigEntityInterface::set()
- 11.x core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php \Drupal\Core\Config\Entity\ConfigEntityInterface::set()
Sets the value of a property.
Parameters
string $property_name: The name of the property that should be set.
mixed $value: The value the property should be set to.
Return value
$this
2 methods override ConfigEntityInterface::set()
- ConfigEntityBase::set in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php - Sets the value of a property.
- ViewUI::set in core/
modules/ views_ui/ src/ ViewUI.php - Sets the value of a property.
File
-
core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityInterface.php, line 98
Class
- ConfigEntityInterface
- Defines a common interface for configuration entities.
Namespace
Drupal\Core\Config\EntityCode
public function set($property_name, $value);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.