You are here

public function ConfigEntityLockableTrait::lock in Simple OAuth (OAuth2) & OpenID Connect 8.4

Same name and namespace in other branches
  1. 8.2 src/Entity/ConfigEntityLockableTrait.php \Drupal\simple_oauth\Entity\ConfigEntityLockableTrait::lock()
  2. 8.3 src/Entity/ConfigEntityLockableTrait.php \Drupal\simple_oauth\Entity\ConfigEntityLockableTrait::lock()
  3. 5.x src/Entity/ConfigEntityLockableTrait.php \Drupal\simple_oauth\Entity\ConfigEntityLockableTrait::lock()

File

src/Entity/ConfigEntityLockableTrait.php, line 24

Class

ConfigEntityLockableTrait

Namespace

Drupal\simple_oauth\Entity

Code

public function lock() {
  $this->locked = TRUE;
}