function FieldStorageConfigInterface::setLocked
Same name in other branches
- 8.9.x core/modules/field/src/FieldStorageConfigInterface.php \Drupal\field\FieldStorageConfigInterface::setLocked()
- 10 core/modules/field/src/FieldStorageConfigInterface.php \Drupal\field\FieldStorageConfigInterface::setLocked()
- 11.x core/modules/field/src/FieldStorageConfigInterface.php \Drupal\field\FieldStorageConfigInterface::setLocked()
Sets the locked flag.
Parameters
bool $locked: Sets value of locked flag.
Return value
$this
1 method overrides FieldStorageConfigInterface::setLocked()
- FieldStorageConfig::setLocked in core/
modules/ field/ src/ Entity/ FieldStorageConfig.php - Sets the locked flag.
File
-
core/
modules/ field/ src/ FieldStorageConfigInterface.php, line 61
Class
- FieldStorageConfigInterface
- Provides an interface defining a field storage entity.
Namespace
Drupal\fieldCode
public function setLocked($locked);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.