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