public function ConfigEntityBase::enable

Implements \Drupal\Core\Config\Entity\ConfigEntityInterface::enable().

Overrides ConfigEntityInterface::enable

File

drupal/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 99
Definition of Drupal\Core\Config\Entity\ConfigEntityBase.

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

public function enable() {
  return $this
    ->setStatus(TRUE);
}