You are here

public function FieldStorageConfig::setLocked in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::setLocked()

Sets the locked flag.

Parameters

bool $locked: Sets value of locked flag.

Return value

$this

Overrides FieldStorageConfigInterface::setLocked

File

core/modules/field/src/Entity/FieldStorageConfig.php, line 678
Contains \Drupal\field\Entity\FieldStorageConfig.

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

public function setLocked($locked) {
  $this->locked = $locked;
  return $this;
}