You are here

public function LingotekProfile::isLocked in Lingotek Translation 3.7.x

Same name and namespace in other branches
  1. 8 src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::isLocked()
  2. 8.2 src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::isLocked()
  3. 4.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::isLocked()
  4. 3.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::isLocked()
  5. 3.1.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::isLocked()
  6. 3.2.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::isLocked()
  7. 3.3.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::isLocked()
  8. 3.4.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::isLocked()
  9. 3.5.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::isLocked()
  10. 3.6.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::isLocked()
  11. 3.8.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::isLocked()

Returns whether this profile is locked.

Return value

bool Whether the profile is locked or not.

Overrides LingotekProfileInterface::isLocked

File

src/Entity/LingotekProfile.php, line 650

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

public function isLocked() {
  return (bool) $this->locked;
}