public function ConfigEntityBase::enable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::enable()
Enables the configuration entity.
Return value
$this
Overrides ConfigEntityInterface::enable
File
- core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php, line 185 - Contains \Drupal\Core\Config\Entity\ConfigEntityBase.
Class
- ConfigEntityBase
- Defines a base configuration entity class.
Namespace
Drupal\Core\Config\EntityCode
public function enable() {
return $this
->setStatus(TRUE);
}