public function HeartbeatType::isLocked in Heartbeat 8
File
- src/
Entity/ HeartbeatType.php, line 257
Class
- HeartbeatType
- Defines the Heartbeat type entity.
Namespace
Drupal\heartbeat\EntityCode
public function isLocked() {
$locked = \Drupal::state()
->get('heartbeat.type.locked');
return isset($locked[$this
->id()]) ? $locked[$this
->id()] : FALSE;
}