public function FieldStorageConfig::setLocked in Drupal 8
Same name and namespace in other branches
- 9 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 686
Class
- FieldStorageConfig
- Defines the Field storage configuration entity.
Namespace
Drupal\field\EntityCode
public function setLocked($locked) {
$this->locked = $locked;
return $this;
}