function FieldConfigInterface::setLabel
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldConfigInterface.php \Drupal\Core\Field\FieldConfigInterface::setLabel()
- 10 core/lib/Drupal/Core/Field/FieldConfigInterface.php \Drupal\Core\Field\FieldConfigInterface::setLabel()
- 11.x core/lib/Drupal/Core/Field/FieldConfigInterface.php \Drupal\Core\Field\FieldConfigInterface::setLabel()
Sets the field definition label.
Parameters
string $label: The label to set.
Return value
$this
1 method overrides FieldConfigInterface::setLabel()
- FieldConfigBase::setLabel in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php - Sets the field definition label.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldConfigInterface.php, line 27
Class
- FieldConfigInterface
- Defines an interface for configurable field definitions.
Namespace
Drupal\Core\FieldCode
public function setLabel($label);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.