public function EntityformType::isLocked in Entityform 8.2
Same name and namespace in other branches
- 8.3 src/Entity/EntityformType.php \Drupal\entityform\Entity\EntityformType::isLocked()
File
- lib/
Drupal/ entityform/ Entity/ EntityformType.php, line 121 - 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;
}