public function DateFormat::isLocked in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Datetime/Entity/DateFormat.php \Drupal\Core\Datetime\Entity\DateFormat::isLocked()
- 9 core/lib/Drupal/Core/Datetime/Entity/DateFormat.php \Drupal\Core\Datetime\Entity\DateFormat::isLocked()
Determines if this date format is locked.
Return value
bool TRUE if the date format is locked, FALSE otherwise.
Overrides DateFormatInterface::isLocked
File
- core/
lib/ Drupal/ Core/ Datetime/ Entity/ DateFormat.php, line 80
Class
- DateFormat
- Defines the Date Format configuration entity class.
Namespace
Drupal\Core\Datetime\EntityCode
public function isLocked() {
return (bool) $this->locked;
}