function ConfigEntityAdapter::onChange
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Plugin/DataType/ConfigEntityAdapter.php \Drupal\Core\Entity\Plugin\DataType\ConfigEntityAdapter::onChange()
- 8.9.x core/lib/Drupal/Core/Entity/Plugin/DataType/ConfigEntityAdapter.php \Drupal\Core\Entity\Plugin\DataType\ConfigEntityAdapter::onChange()
- 11.x core/lib/Drupal/Core/Entity/Plugin/DataType/ConfigEntityAdapter.php \Drupal\Core\Entity\Plugin\DataType\ConfigEntityAdapter::onChange()
Overrides EntityAdapter::onChange
File
-
core/
lib/ Drupal/ Core/ Entity/ Plugin/ DataType/ ConfigEntityAdapter.php, line 62
Class
- ConfigEntityAdapter
- Enhances EntityAdapter for config entities.
Namespace
Drupal\Core\Entity\Plugin\DataTypeCode
public function onChange($property_name) {
if (isset($this->entity)) {
// Let the entity know of any changes.
$this->getConfigTypedData()
->onChange($property_name);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.