You are here

public function NameFormat::isLocked in Name Field 8

Determines if this name format is locked.

Return value

bool TRUE if the name format is locked, FALSE otherwise.

Overrides NameFormatInterface::isLocked

File

src/Entity/NameFormat.php, line 99

Class

NameFormat
Defines the Name Format configuration entity class.

Namespace

Drupal\name\Entity

Code

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