public function EntityformType::isLocked in Entityform 8.3
Same name and namespace in other branches
- 8.2 lib/Drupal/entityform/Entity/EntityformType.php \Drupal\entityform\Entity\EntityformType::isLocked()
File
- src/
Entity/ EntityformType.php, line 143 - Contains \Drupal\entityform\Entity\EntityformType.
Class
- EntityformType
- Defines the Entityform type configuration entity.
Namespace
Drupal\entityform\EntityCode
public function isLocked() {
$locked = \Drupal::state()
->get('entityform.type.locked');
return isset($locked[$this
->id()]) ? $locked[$this
->id()] : FALSE;
}