You are here

interface ConfigEntityLockableInterface in Simple OAuth (OAuth2) & OpenID Connect 8.2

Same name and namespace in other branches
  1. 8.4 src/Entity/ConfigEntityLockableInterface.php \Drupal\simple_oauth\Entity\ConfigEntityLockableInterface
  2. 8.3 src/Entity/ConfigEntityLockableInterface.php \Drupal\simple_oauth\Entity\ConfigEntityLockableInterface
  3. 5.x src/Entity/ConfigEntityLockableInterface.php \Drupal\simple_oauth\Entity\ConfigEntityLockableInterface

Hierarchy

Expanded class hierarchy of ConfigEntityLockableInterface

All classes that implement ConfigEntityLockableInterface

File

src/Entity/ConfigEntityLockableInterface.php, line 7

Namespace

Drupal\simple_oauth\Entity
View source
interface ConfigEntityLockableInterface {

  /**
   * Checks if the entity is locked against changes.
   *
   * @return bool
   */
  public function isLocked();

  /**
   * Locks the entity.
   */
  public function lock();

  /**
   * Unlocks the entity.
   */
  public function unlock();

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigEntityLockableInterface::isLocked public function Checks if the entity is locked against changes.
ConfigEntityLockableInterface::lock public function Locks the entity.
ConfigEntityLockableInterface::unlock public function Unlocks the entity.