function 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.