public function DateFormat::isLocked

public 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\Entity

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Datetime!Entity!DateFormat.php/function/DateFormat::isLocked/8.1.x